From b4f96abf0a9dd51980a1f830d5a79b37730eee62 Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Wed, 24 May 2006 20:06:06 +0000 Subject: r15873: Use short signal names to placate ksh trap. bash seems to accept either and even uses them on the manpage. this should now enable make test on AIX. (This used to be commit de836d2077e53c07a50c51d1580f8e93700eb5bd) --- source3/script/tests/test_functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/script/tests/test_functions.sh b/source3/script/tests/test_functions.sh index 4134376bfc..f263677bfc 100644 --- a/source3/script/tests/test_functions.sh +++ b/source3/script/tests/test_functions.sh @@ -19,8 +19,8 @@ samba3_stop_sig_kill() { samba3_check_or_start() { if [ -n "$SERVER_TEST_FIFO" ];then - trap samba3_stop_sig_kill SIGINT SIGQUIT - trap samba3_stop_sig_kill SIGTERM + trap samba3_stop_sig_kill INT QUIT + trap samba3_stop_sig_kill TERM if [ -p "$SERVER_TEST_FIFO" ];then return 0; -- cgit