summaryrefslogtreecommitdiff
path: root/t/t7502-commit.sh
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2009-03-25 12:21:15 (GMT)
committerJohannes Sixt <j6t@kdbg.org>2009-03-25 20:25:57 (GMT)
commitfb9a2beab2002894fb970cba4e32ebb1c41176b2 (patch)
tree20db1485c9807cb7030f6876fdaf47c00e867a38 /t/t7502-commit.sh
parent80f0e53d6bdde5d9be016e5cfbb5ff7c0257a00e (diff)
downloadgit-fb9a2beab2002894fb970cba4e32ebb1c41176b2.zip
git-fb9a2beab2002894fb970cba4e32ebb1c41176b2.tar.gz
git-fb9a2beab2002894fb970cba4e32ebb1c41176b2.tar.bz2
t7502-commit: Skip SIGTERM test on Windows
The implementation of exec on Windows is just a rough approximation of the POSIX behavior. In particular, no real process "overlay" happens (a new process is spawned instead and the parent process waits until the child terminates). In particular, the process ID cannot be taken by the exec'd process. But there is one test in t7502-commit.sh that depends on this. We have to skip it on Windows. Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Diffstat (limited to 't/t7502-commit.sh')
-rwxr-xr-xt/t7502-commit.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7502-commit.sh b/t/t7502-commit.sh
index ad42c78..56cd866 100755
--- a/t/t7502-commit.sh
+++ b/t/t7502-commit.sh
@@ -234,7 +234,7 @@ cat >.git/FAKE_EDITOR <<EOF
# kill -TERM command added below.
EOF
-test_expect_success 'a SIGTERM should break locks' '
+test_expect_success EXECKEEPSPID 'a SIGTERM should break locks' '
echo >>negative &&
! "$SHELL_PATH" -c '\''
echo kill -TERM $$ >> .git/FAKE_EDITOR