tests: (kill) do not use shell build-in
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
43b4a4d3c7
commit
2fadcded53
|
@ -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"
|
||||
|
||||
|
|
|
@ -18,6 +18,11 @@ TS_DESC="name_to_number"
|
|||
. "$TS_TOPDIR/functions.sh"
|
||||
ts_init "$*"
|
||||
|
||||
# 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"
|
||||
|
||||
|
|
|
@ -18,6 +18,11 @@ TS_DESC="options"
|
|||
. "$TS_TOPDIR/functions.sh"
|
||||
ts_init "$*"
|
||||
|
||||
# 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"
|
||||
|
||||
|
|
|
@ -18,6 +18,11 @@ TS_DESC="print_pid"
|
|||
. "$TS_TOPDIR/functions.sh"
|
||||
ts_init "$*"
|
||||
|
||||
# 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"
|
||||
|
||||
|
|
|
@ -18,6 +18,11 @@ TS_DESC="queue"
|
|||
. "$TS_TOPDIR/functions.sh"
|
||||
ts_init "$*"
|
||||
|
||||
# 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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue