tests: use exec to call libwrap'd executables 90/12490/2
authorBenjamin Kaduk <kaduk@mit.edu>
Fri, 16 Dec 2016 04:12:01 +0000 (22:12 -0600)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 16 Dec 2016 21:25:58 +0000 (16:25 -0500)
commit9fd396adabaa1868517fdb3d7cfcbe9412c35b0b
treec6f160e6c14bf4f65ea4edd821efcef8d7fbc3dc
parent8b2c4665aabece187759157bda0e26c4b566dd2f
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>
tests/libwrap