summaryrefslogtreecommitdiff
path: root/regress/usr.bin/ssh
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2002-02-18 14:30:13 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2002-02-18 14:30:13 +0000
commit819033ea7c0812216d20fe04c6729a3e038cfbd1 (patch)
treebce573446d2214e5eb6338acccf3d1b5e1d9630c /regress/usr.bin/ssh
parent63d6aeed6830d09333ea10dc0310cfb725b1d420 (diff)
call fatal on ^C, print ok on success
Diffstat (limited to 'regress/usr.bin/ssh')
-rw-r--r--regress/usr.bin/ssh/test-exec.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.bin/ssh/test-exec.sh b/regress/usr.bin/ssh/test-exec.sh
index ff437620e4d..57e8caba786 100644
--- a/regress/usr.bin/ssh/test-exec.sh
+++ b/regress/usr.bin/ssh/test-exec.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: test-exec.sh,v 1.8 2002/02/18 12:52:26 markus Exp $
+# $OpenBSD: test-exec.sh,v 1.9 2002/02/18 14:30:12 markus Exp $
# Placed in the Public Domain.
PORT=4242
@@ -81,7 +81,7 @@ fatal ()
RESULT=0
PIDFILE=$OBJ/pidfile
-trap cleanup 3 2
+trap fatal 3 2
# create server config
cat << EOF > $OBJ/sshd_config
@@ -176,7 +176,7 @@ start_sshd ()
# kill sshd
cleanup
if [ $RESULT -eq 0 ]; then
- trace ok $tid
+ verbose ok $tid
else
echo failed $tid
fi