Revision 7c0282bfb9038516b0eeb3b7cb3c1d6ee3cb20de authored by Mike Ralphson on 17 April 2009, 18:13:29 UTC, committed by Junio C Hamano on 20 April 2009, 22:55:56 UTC
Signed-off-by: Mike Ralphson <mike@abacus.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent a162e78
Raw File
t0005-signals.sh
#!/bin/sh

test_description='signals work as we expect'
. ./test-lib.sh

cat >expect <<EOF
three
two
one
EOF

test_expect_success 'sigchain works' '
	test-sigchain >actual
	case "$?" in
	143) true ;; # POSIX w/ SIGTERM=15
	  3) true ;; # Windows
	  *) false ;;
	esac &&
	test_cmp expect actual
'

test_done
back to top