test: fix tests for disabled cmdmon

This commit is contained in:
Miroslav Lichvar
2025-06-03 15:40:35 +02:00
parent 2c6cbde058
commit c900dff314
3 changed files with 6 additions and 2 deletions

View File

@@ -8,7 +8,9 @@ server_conf="broadcast 64 192.168.123.255"
client_server_options="offline"
run_test || test_fail
check_chronyd_exit || test_fail
if check_config_h 'FEAT_CMDMON 1'; then
check_chronyd_exit || test_fail
fi
check_packet_interval && test_fail
check_file_messages " 1 2 " 150 160 log.packets || test_fail