Index: regress/test-exec.sh
===================================================================
RCS file: /var/cvs/openssh/regress/test-exec.sh,v
retrieving revision 1.28
diff -u -p -r1.28 test-exec.sh
--- regress/test-exec.sh	1 Feb 2006 00:21:04 -0000	1.28
+++ regress/test-exec.sh	2 Sep 2006 02:59:49 -0000
@@ -3,6 +3,8 @@
 
 #SUDO=sudo
 
+set -x
+
 # Unbreak GNU head(1)
 _POSIX2_VERSION=199209
 export _POSIX2_VERSION
@@ -176,6 +178,7 @@ fail ()
 	echo "FAIL: $@" >>$TEST_SSH_LOGFILE
 	RESULT=1
 	echo "$@"
+	exit 1
 }
 
 fatal ()
