[Box Backup-commit] COMMIT r2509 - box/trunk/test/bbackupd/testfiles

boxbackup-dev at boxbackup.org boxbackup-dev at boxbackup.org
Sun Apr 26 12:55:58 BST 2009


Author: chris
Date: 2009-04-26 12:55:58 +0100 (Sun, 26 Apr 2009)
New Revision: 2509

Modified:
   box/trunk/test/bbackupd/testfiles/extcheck1.pl.in
Log:
Improve debugging output from external check script.


Modified: box/trunk/test/bbackupd/testfiles/extcheck1.pl.in
===================================================================
--- box/trunk/test/bbackupd/testfiles/extcheck1.pl.in	2009-04-26 11:55:14 UTC (rev 2508)
+++ box/trunk/test/bbackupd/testfiles/extcheck1.pl.in	2009-04-26 11:55:58 UTC (rev 2509)
@@ -8,7 +8,7 @@
 	"-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 @@
 
 close IN;
 
-$ret = 2 unless $seen;
+unless ($seen)
+{
+	print "FAIL: missing line matching continousupdate\n";
+	$ret = 2;
+}
 
 exit $ret;
 




More information about the Boxbackup-commit mailing list