test: fix packet interval check

This commit is contained in:
Miroslav Lichvar
2014-06-03 14:18:48 +02:00
parent 28876d6afa
commit 34f12c0864
4 changed files with 10 additions and 10 deletions

View File

@@ -27,16 +27,16 @@ server_conf=""
run_test || test_fail
check_chronyd_exit || test_fail
# These checks must fail as the server doesn't know the key
# This check must fail as the server doesn't know the key
check_sync && test_fail
check_packet_interval && test_fail
check_packet_interval || test_fail
server_conf="keyfile tmp/keys"
client_conf=""
run_test || test_fail
check_chronyd_exit || test_fail
# These checks must fail as the client doesn't know the key
# This check must fail as the client doesn't know the key
check_sync && test_fail
check_packet_interval && test_fail
check_packet_interval || test_fail
test_pass