mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 01:45:06 -05:00
test: fix tests to skip when missing required feature
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
. ./test.common
|
||||
|
||||
test_start "leap second"
|
||||
|
||||
check_config_h 'FEAT_REFCLOCK 1' || test_skip
|
||||
|
||||
export CLKNETSIM_START_DATE=$(TZ=UTC date -d 'Dec 30 2008 0:00:00' +'%s')
|
||||
|
||||
leap=$[2 * 24 * 3600]
|
||||
|
||||
Reference in New Issue
Block a user