]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix digdelv test error
authorEvan Hunt <each@isc.org>
Sun, 17 Oct 2021 18:45:21 +0000 (11:45 -0700)
committerEvan Hunt <each@isc.org>
Mon, 18 Oct 2021 21:13:05 +0000 (14:13 -0700)
The digdelv system test has a test case in which stderr was
included in the dig output. When trace logging was in use,
this confused the grep and caused a spurious test failure.

bin/tests/system/digdelv/tests.sh

index 0a86ea7d16e20798688701e74f4b902790ab21c1..139efb878e1ee07a49eb3b702e016c3de55b4964 100644 (file)
@@ -1294,7 +1294,7 @@ if [ -x "$DELV" ] ; then
     n=$((n+1))
     echo_i "check delv +yaml output ($n)"
     ret=0
-    delv_with_opts +yaml @10.53.0.3 any ns2.example > delv.out.test$n 2>&1 || ret=1
+    delv_with_opts +yaml @10.53.0.3 any ns2.example > delv.out.test$n || ret=1
     $PYTHON yamlget.py delv.out.test$n status > yamlget.out.test$n 2>&1 || ret=1
     read -r value < yamlget.out.test$n
     [ "$value" = "success" ] || ret=1