]> git.ipfire.org Git - thirdparty/git.git/blame - t/t0005-signals.sh
perl: bump the required Perl version to 5.8 from 5.6.[21]
[thirdparty/git.git] / t / t0005-signals.sh
CommitLineData
4a16d072
JK
1#!/bin/sh
2
3test_description='signals work as we expect'
4. ./test-lib.sh
5
6cat >expect <<EOF
7three
8two
9one
10EOF
11
12test_expect_success 'sigchain works' '
13 test-sigchain >actual
14 case "$?" in
0ea80396 15 143) true ;; # POSIX w/ SIGTERM=15
0e418e56 16 271) true ;; # ksh w/ SIGTERM=15
4a16d072
JK
17 3) true ;; # Windows
18 *) false ;;
19 esac &&
20 test_cmp expect actual
21'
22
23test_done