mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 22:15:06 -05:00
test: add function for checking config.h in tests
This commit is contained in:
@@ -20,7 +20,7 @@ check_chronyd_exit || test_fail
|
||||
check_source_selection || test_fail
|
||||
check_sync || test_fail
|
||||
|
||||
if grep -q 'FEAT_DEBUG 1' ../../config.h; then
|
||||
if check_config_h 'FEAT_DEBUG 1'; then
|
||||
check_log_messages "HW clock samples" 190 200 || test_fail
|
||||
check_log_messages "HW clock reset" 0 0 || test_fail
|
||||
check_log_messages "Received.*tss=1" 1 1 || test_fail
|
||||
|
||||
Reference in New Issue
Block a user