test: add function for checking config.h in tests

This commit is contained in:
Miroslav Lichvar
2018-09-26 17:29:23 +02:00
parent 31b1f2e8a1
commit 3e876d4218
5 changed files with 10 additions and 4 deletions

View File

@@ -5,7 +5,7 @@
test_start "cmdmon timestamps"
# The following tests need 64-bit time_t
grep -q 'HAVE_LONG_TIME_T 1' ../../config.h || test_skip
check_config_h 'HAVE_LONG_TIME_T 1' || test_skip
limit=2
client_server_options="noselect"