mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 16:55:06 -05:00
20 lines
387 B
Bash
Executable File
20 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
|