1#!/bin/sh
23
test_description='signals work as we expect'
4. ./test-lib.sh
56
cat >expect <<EOF
7three
8two
9one
10EOF
1112
test_expect_success 'sigchain works' '
13test-sigchain >actual
14case "$?" in
15143) true ;; # POSIX w/ SIGTERM=15
163) true ;; # Windows
17*) false ;;
18esac &&
19test_cmp expect actual
20'
2122
test_done