]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
improve error diagnostics
authorMark Andrews <marka@isc.org>
Wed, 2 Nov 2011 13:59:07 +0000 (13:59 +0000)
committerMark Andrews <marka@isc.org>
Wed, 2 Nov 2011 13:59:07 +0000 (13:59 +0000)
bin/tests/system/smartsign/tests.sh

index 91c103e63b28753241da4ac88caaf395a4d0b3d8..baeb7afce8b94de11306e5fdaedfd2f03c7d0301 100644 (file)
@@ -14,7 +14,7 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: tests.sh,v 1.18 2011/10/25 03:57:08 marka Exp $
+# $Id: tests.sh,v 1.19 2011/11/02 13:59:07 marka Exp $
 
 SYSTEMTESTTOP=..
 . $SYSTEMTESTTOP/conf.sh
@@ -109,7 +109,11 @@ echo "$pzoneout" | grep 'KSKs: 1 active, 0 stand-by, 0 revoked' > /dev/null || r
 echo "$pzoneout" | grep 'ZSKs: 1 active, 0 present, 0 revoked' > /dev/null || ret=1
 echo "$czoneout" | grep 'KSKs: 1 active, 1 stand-by, 1 revoked' > /dev/null || ret=1
 echo "$czoneout" | grep 'ZSKs: 1 active, 2 present, 0 revoked' > /dev/null || ret=1
-if [ $ret != 0 ]; then echo "I:failed"; fi
+if [ $ret != 0 ]; then
+       echo "I: parent $pzoneout"
+       echo "I: child $czoneout"
+       echo "I:failed";
+fi
 status=`expr $status + $ret`
 
 echo "I:checking parent zone DNSKEY set"