summaryrefslogtreecommitdiffstats
path: root/tests/ts/kill/all_processes
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/kill/all_processes')
-rwxr-xr-xtests/ts/kill/all_processes5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ts/kill/all_processes b/tests/ts/kill/all_processes
index 2596ef02b..7a0c95931 100755
--- a/tests/ts/kill/all_processes
+++ b/tests/ts/kill/all_processes
@@ -20,6 +20,11 @@ ts_init "$*"
ts_skip_nonroot
+# make sure we do not use shell built-in command
+if [ "$TS_USE_SYSTEM_COMMANDS" == "yes" ]; then
+ TS_CMD_KILL="/bin/kill"
+fi
+
ts_check_test_command "$TS_CMD_KILL"
ts_check_test_command "$TS_HELPER_SIGRECEIVE"