summaryrefslogtreecommitdiffstats
path: root/test/simulation/004-largetimeoffset
blob: 4aebdd386882522c11e4da30aa170fa8134fc54c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash

. ./test.common

test_start "large time offset"

min_sync_time=1300
max_sync_time=1400

for time_offset in -1e2 1e2; do
	run_test || test_fail
	check_chronyd_exit || test_fail
	check_source_selection || test_fail
	check_packet_interval || test_fail
	check_sync || test_fail
done

test_pass