chrony/test/system/103-refclock
Miroslav Lichvar 86a99bb257 test: use env in shebang of system tests
This should allow the tests to run on systems where bash is not in /bin.
2019-04-26 10:54:02 +02:00

19 lines
387 B
Bash
Executable file

#!/usr/bin/env bash
. ./test.common
check_chronyd_features REFCLOCK || test_skip "refclock support disabled"
test_start "reference clocks"
extra_chronyd_directives="
refclock SOCK $TEST_DIR/refclock.sock
refclock SHM 100"
start_chronyd || test_fail
wait_for_sync || test_fail
stop_chronyd || test_fail
check_chronyd_messages || test_fail
check_chronyd_files || test_fail
test_pass