diff options
author | Chris Wilson <chris+github@qwirx.com> | 2009-04-26 11:55:58 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2009-04-26 11:55:58 +0000 |
commit | 4839afa4a715811bea23a0cf29d439246fe0aee7 (patch) | |
tree | 3521e8b16c9dcf46e340ed337297764a298e9e93 /test | |
parent | c778e486d25070979c09adde5f919bf44357c4ae (diff) |
Improve debugging output from external check script.
Diffstat (limited to 'test')
-rwxr-xr-x | test/bbackupd/testfiles/extcheck1.pl.in | 8 |
1 files 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(<IN>) close IN; -$ret = 2 unless $seen; +unless ($seen) +{ + print "FAIL: missing line matching continousupdate\n"; + $ret = 2; +} exit $ret; |