Revision 284daf29026c519729747bd2051829f0f958473c authored by Junio C Hamano on 25 August 2011, 23:00:53 UTC, committed by Junio C Hamano on 25 August 2011, 23:00:53 UTC
* jc/merge-reword:
  merge: reword the final message
2 parent s b0578c9 + f23101b
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
	271) true ;; # ksh w/ SIGTERM=15
	  3) true ;; # Windows
	  *) false ;;
	esac &&
	test_cmp expect actual
'

test_done
back to top