r15873: Use short signal names to placate ksh trap. bash seems to accept either
authorJim McDonough <jmcd@samba.org>
Wed, 24 May 2006 20:06:06 +0000 (20:06 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:17:11 +0000 (11:17 -0500)
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

index 4134376bfc537b889100222cbed2ff12135f1e34..f263677bfcfc2e0a1f0d8fa8a49f186d114434b1 100644 (file)
@@ -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;