test: fix tests to skip when missing required feature

This commit is contained in:
Miroslav Lichvar
2018-09-26 18:04:09 +02:00
parent 91dbe3c6c2
commit e8bc41e862
15 changed files with 55 additions and 1 deletions

View File

@@ -1,8 +1,11 @@
#!/bin/bash
. ./test.common
test_start "log directive"
check_config_h 'FEAT_PHC 1' || test_skip
refclock_jitter=$jitter
client_server_options="maxpoll 6"
client_conf="refclock PHC /dev/ptp0 dpoll 4 poll 6 noselect