]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Move fromhex.pl script to bin/tests/system/
authorMichal Nowak <mnowak@isc.org>
Thu, 8 Apr 2021 07:20:34 +0000 (09:20 +0200)
committerMichal Nowak <mnowak@isc.org>
Thu, 8 Apr 2021 09:04:26 +0000 (11:04 +0200)
The fromhex.pl script needs to be copied from the source directory to
the build directory before any test is run, otherwise the out-of-tree
fails to find it. Given that the script is used only in system test,
move it to bin/tests/system/.

bin/tests/system/fromhex.pl [moved from bin/tests/fromhex.pl with 100% similarity]
bin/tests/system/journal/setup.sh
bin/tests/system/run.sh.in
util/copyrights

index 2d74750df92ed09d81d747430c04c375ca793199..4a5253900c94d9ac709f83ac20744dbc86530c49 100644 (file)
@@ -42,4 +42,4 @@ cp ns1/generic.db.in ns1/maxjournal2.db
 cp ns1/maxjournal2.jnl.saved ns1/maxjournal2.db.jnl
 
 cp ns1/managed-keys.bind.in ns1/managed-keys.bind
-$PERL ../../fromhex.pl < ns1/managed-keys.bind.jnl.in > ns1/managed-keys.bind.jnl
+$PERL ../fromhex.pl < ns1/managed-keys.bind.jnl.in > ns1/managed-keys.bind.jnl
index c189c3d08429691c30204ace184295103b2e795c..45964d7d871ef90c2e64f3ef17754e5ab4a51aa0 100644 (file)
@@ -92,7 +92,7 @@ if [ "${srcdir}" != "${builddir}" ]; then
         cp -a "${srcdir}/common" "${builddir}"
     fi
     # Some tests require additional files to work for out-of-tree test runs.
-    for file in ckdnsrps.sh digcomp.pl ditch.pl kasp.sh packet.pl start.pl stop.pl testcrypto.sh; do
+    for file in ckdnsrps.sh digcomp.pl ditch.pl fromhex.pl kasp.sh packet.pl start.pl stop.pl testcrypto.sh; do
         if [ ! -r "${file}" ]; then
             cp -a "${srcdir}/${file}" "${builddir}"
         fi
index 62238cf87240ac6fb15eed61028cd5c2d1c1140a..fb258a5370c76372df027635fd7d4ac4ea0434d1 100644 (file)
 ./bin/rndc/win32/rndc.vcxproj.filters.in       X       2013,2015,2018,2019,2020
 ./bin/rndc/win32/rndc.vcxproj.in               X       2013,2015,2016,2017,2018,2019,2020
 ./bin/rndc/win32/rndc.vcxproj.user             X       2013,2018,2019,2020,2021
-./bin/tests/fromhex.pl                         PERL    2015,2016,2018,2019,2020,2021
 ./bin/tests/prepare-softhsm2.sh                        SH      2020,2021
 ./bin/tests/startperf/README                   X       2011,2018,2019,2020,2021
 ./bin/tests/startperf/clean.sh                 SH      2011,2012,2016,2018,2019,2020,2021
 ./bin/tests/system/forward/ns2/example.db      X       2000,2001,2018,2019
 ./bin/tests/system/forward/setup.sh            SH      2018,2019,2020,2021
 ./bin/tests/system/forward/tests.sh            SH      2000,2001,2004,2007,2011,2012,2013,2014,2016,2018,2019,2020,2021
+./bin/tests/system/fromhex.pl                  PERL    2015,2016,2018,2019,2020,2021
 ./bin/tests/system/genzone.sh                  SH      2001,2002,2003,2004,2007,2009,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021
 ./bin/tests/system/geoip2/clean.sh             SH      2019,2020,2021
 ./bin/tests/system/geoip2/data/GeoIP2-City.json        X       2019,2020,2021