diff options
Diffstat (limited to 'testdata/dnscrypt_cert.tdir/dnscrypt_cert.pre')
| -rw-r--r-- | testdata/dnscrypt_cert.tdir/dnscrypt_cert.pre | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/testdata/dnscrypt_cert.tdir/dnscrypt_cert.pre b/testdata/dnscrypt_cert.tdir/dnscrypt_cert.pre index bee9e8ac63ca..6cf52299c5ad 100644 --- a/testdata/dnscrypt_cert.tdir/dnscrypt_cert.pre +++ b/testdata/dnscrypt_cert.tdir/dnscrypt_cert.pre @@ -8,7 +8,11 @@ PRE="../.." . ../common.sh # Check if we can run the test. -. ./precheck.sh +if grep "define USE_DNSCRYPT 1" $PRE/config.h; then + echo "have dnscrypt" +else + skip_test "no dnscrypt" +fi get_random_port 3 UNBOUND_PORT=$RND_PORT |
