tests: fix incorrect usage of "trap ... SIGHUP"

Discovered with OpenBSD 6.0 /bin/sh
This commit is contained in:
John Hood
2016-09-18 01:31:25 -04:00
parent 39ea3d9512
commit 5619dd47bb
+1 -1
View File
@@ -68,7 +68,7 @@ baseline()
fail "mosh client is unexpectedly missing\n" fail "mosh client is unexpectedly missing\n"
fi fi
# Set up for good return and cleanup on being killed # Set up for good return and cleanup on being killed
trap "echo got killed >&2; sleep 1; exit 0" SIGHUP SIGTERM trap "echo got killed >&2; sleep 1; exit 0" HUP TERM
sleep 1 sleep 1
# Kill the client, to stop network traffic. # Kill the client, to stop network traffic.