mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 06:50:12 +00:00
tests: use exec to call libwrap'd executables
No need to leave the shell process hanging around. In particular, if we are manually running softsig-helper under libwrap to debug test failures, the child process of the shell is another shell, which interprets some signals that we wanted to be passed through, like SIGTERM. On the other hand, once the softsig-helper is exec()'d, you basically need another shell to terminate it, which is a different problem.... Change-Id: Iff7c519886a018cb68e692746d40c427b6299457 Reviewed-on: https://gerrit.openafs.org/12490 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Anders Kaseorg <andersk@mit.edu> Tested-by: Anders Kaseorg <andersk@mit.edu> Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
This commit is contained in:
parent
8b2c4665aa
commit
9fd396adab
@ -45,4 +45,4 @@ fi
|
|||||||
export LIBPATH
|
export LIBPATH
|
||||||
|
|
||||||
shift
|
shift
|
||||||
"$TEST_COMMAND" "$@"
|
exec "$TEST_COMMAND" "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user