]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Use $TOP_BUILDDIR instead of $TOP of checking config.h values
authorOndřej Surý <ondrej@isc.org>
Wed, 22 Apr 2020 13:17:45 +0000 (15:17 +0200)
committerOndřej Surý <ondrej@isc.org>
Fri, 24 Apr 2020 14:11:20 +0000 (16:11 +0200)
bin/tests/system/rrsetorder/tests.sh

index 08266af6f14bf3c7efd3bc51472541ae31589628..00c6e3bb2b6cf44f1f646f23bd290cdadba4ffa7 100644 (file)
@@ -19,7 +19,7 @@ status=0
 GOOD_RANDOM="1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24"
 GOOD_RANDOM_NO=24
 
-if grep "^#define DNS_RDATASET_FIXED" $TOP/config.h > /dev/null 2>&1 ; then
+if grep "^#define DNS_RDATASET_FIXED" "$TOP_BUILDDIR/config.h" > /dev/null 2>&1 ; then
     test_fixed=true
 else
     echo_i "Order 'fixed' disabled at compile time"