From: Mark Andrews Date: Thu, 27 Jul 2023 19:22:43 +0000 (+1000) Subject: Correctly grep nextpart output X-Git-Tag: v9.19.16~7^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6d0f19da7d582acd0163793e34dfa34fab8c2abb;p=thirdparty%2Fbind9.git Correctly grep nextpart output --- diff --git a/bin/tests/system/nsupdate/tests.sh b/bin/tests/system/nsupdate/tests.sh index 04d533b8f1e..8c2c7174370 100755 --- a/bin/tests/system/nsupdate/tests.sh +++ b/bin/tests/system/nsupdate/tests.sh @@ -1684,7 +1684,7 @@ send END grep 'status: REFUSED' nsupdate.out.test$n > /dev/null || ret=1 msg="update failed: _dns.ns.example/SVCB: no ALPN (REFUSED)" -nextpart ns3/named.run | grep "$msg" ns3/named.run > /dev/null || ret=1 +nextpart ns3/named.run | grep "$msg" > /dev/null || ret=1 [ $ret = 0 ] || { echo_i "failed"; status=1; } n=$((n + 1)) @@ -1714,7 +1714,7 @@ send END grep 'status: REFUSED' nsupdate.out.test$n > /dev/null || ret=1 msg="update failed: _dns.ns.example/SVCB: no DOHPATH (REFUSED)" -nextpart ns3/named.run | grep "$msg" ns3/named.run > /dev/null || ret=1 +nextpart ns3/named.run | grep "$msg" > /dev/null || ret=1 [ $ret = 0 ] || { echo_i "failed"; status=1; } n=$((n + 1))