From 4839afa4a715811bea23a0cf29d439246fe0aee7 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 26 Apr 2009 11:55:58 +0000 Subject: Improve debugging output from external check script. --- test/bbackupd/testfiles/extcheck1.pl.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/bbackupd/testfiles/extcheck1.pl.in b/test/bbackupd/testfiles/extcheck1.pl.in index 74884dd8..5b70c677 100755 --- a/test/bbackupd/testfiles/extcheck1.pl.in +++ b/test/bbackupd/testfiles/extcheck1.pl.in @@ -8,7 +8,7 @@ unless(open IN,"../../bin/bbackupquery/bbackupquery -Wwarning " . "-l testfiles/query4.log " . "\"compare -ac$flags\" quit 2>&1 |") { - print "Couldn't open compare utility\n"; + print "FAIL: opening compare utility\n"; exit 2; } @@ -48,7 +48,11 @@ while() close IN; -$ret = 2 unless $seen; +unless ($seen) +{ + print "FAIL: missing line matching continousupdate\n"; + $ret = 2; +} exit $ret; -- cgit v1.2.3