From 819033ea7c0812216d20fe04c6729a3e038cfbd1 Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Mon, 18 Feb 2002 14:30:13 +0000 Subject: call fatal on ^C, print ok on success --- regress/usr.bin/ssh/test-exec.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'regress/usr.bin/ssh') 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 -- cgit v1.2.3