diff options
| author | Pádraig Brady <P@draigBrady.com> | 2011-11-03 01:42:43 +0000 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2011-11-03 18:36:28 +0000 |
| commit | 6603e37c1f602c27d990cc0020b58567d8c5b6e2 (patch) | |
| tree | d2cce79c467598b14401a901a336b592da244ad0 /scripts/git-hooks/commit-msg | |
| parent | tests: fix a race in timeout-group (diff) | |
| download | coreutils-6603e37c1f602c27d990cc0020b58567d8c5b6e2.tar.gz coreutils-6603e37c1f602c27d990cc0020b58567d8c5b6e2.zip | |
tests: avoid signal issues in timeout-group
These issues were seen on an OpenSuse 10.3 system
(kernel 2.6.22.5 x86_64, glibc 2.6.1-18, bash updated to 4.2),
and also on a 64 bit SLES system with a 2.6.16 kernel.
Both systems had 2 CPUs.
There were two issues seen. 1. Occasionally the
timeout.cmd shell script would block SIGINT until
the sleep command exited. 2. Much less frequently the
signal handler in the timeout command itself was ignored,
causing SIGALRM to kill the process.
* tests/misc/timeout-group: Detect the above two cases,
and skip rather than fail. Note only issue 2. causes
a failure unless skipped, but we skip for case 1. also,
for diagnostic purposes.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions
