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
16271) true ;; # ksh w/ SIGTERM=15
173) true ;; # Windows
18*) false ;;
19esac &&
20test_cmp expect actual
21'
2223
test_done