8 lines
431 B
Bash
Executable File
8 lines
431 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# This wrapper script is necessary to actually run the test with ctest because
|
|
# EPICS apparently calls grep and then terminates it with SIGTERM. When running
|
|
# the binary directly as a ctest target, the entire process group gets killed,
|
|
# meaning that the test gets terminated prematurly. With setsid, the test runs
|
|
# in its own process group, which means that SIGTERM does not propagate to ctest.
|
|
exec setsid -w "$1" |