diff options
Diffstat (limited to 'tests/ts/hwclock/systohc')
-rwxr-xr-x | tests/ts/hwclock/systohc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/ts/hwclock/systohc b/tests/ts/hwclock/systohc index 8a3eccaf4..a2df4fd9b 100755 --- a/tests/ts/hwclock/systohc +++ b/tests/ts/hwclock/systohc @@ -26,9 +26,7 @@ ts_init "$*" ts_check_test_command "$TS_CMD_HWCLOCK" ts_skip_nonroot - -PATH='/usr/sbin:/usr/bin:/sbin:/bin' -type ntpdate >/dev/null 2>&1 || ts_skip "cannot find ntpdate command" +ts_check_prog "ntpdate" set -o pipefail |