From 2554a46c71eeb6a1157f23f47fe48518e592ccc2 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Thu, 23 Jan 2014 23:15:14 +0100 Subject: [PATCH] use gawk to avoid gawk/mawk differences --- regression-tests/backends/remote-master | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regression-tests/backends/remote-master b/regression-tests/backends/remote-master index b0b0333f1..652a6a19d 100644 --- a/regression-tests/backends/remote-master +++ b/regression-tests/backends/remote-master @@ -99,7 +99,7 @@ EOF fi # add DS records into list-all-records - ../pdns/pdnssec --config-dir=. --config-name=remote show-zone up.example.com | awk '{ if ($1=="DS") { printf "up.example.com. 120 IN DS " $6 " " $7 " " $8 " " substr(toupper($9),0,56); if (length($9)>56) { print " " substr(toupper($9),57) } else { print "" } } }' > $testsdir/list-all-records/expected_dnssec_part2 + ../pdns/pdnssec --config-dir=. --config-name=remote show-zone up.example.com | gawk '{ if ($1=="DS") { printf "up.example.com. 120 IN DS " $6 " " $7 " " $8 " " substr(toupper($9),0,56); if (length($9)>56) { print " " substr(toupper($9),57) } else { print "" } } }' > $testsdir/list-all-records/expected_dnssec_part2 cat $testsdir/list-all-records/expected_dnssec_part1 $testsdir/list-all-records/expected_dnssec_part2 $testsdir/list-all-records/expected_dnssec_part3 > $testsdir/list-all-records/expected_result.dnssec cp -f $testsdir/list-all-records/expected_result.dnssec $testsdir/list-all-records/expected_result.nsec3 fi -- 2.40.0