[Box Backup-commit] COMMIT r1612 - box/chris/general/test/bbackupd

boxbackup-dev@fluffy.co.uk boxbackup-dev@fluffy.co.uk
Sun, 29 Apr 2007 00:00:53 +0100


Author: chris
Date: 2007-04-29 00:00:53 +0100 (Sun, 29 Apr 2007)
New Revision: 1612

Modified:
   box/chris/general/test/bbackupd/testbbackupd.cpp
Log:
Compare attributes on Win32, as they should be restored now.


Modified: box/chris/general/test/bbackupd/testbbackupd.cpp
===================================================================
--- box/chris/general/test/bbackupd/testbbackupd.cpp	2007-04-28 22:51:12 UTC (rev 1611)
+++ box/chris/general/test/bbackupd/testbbackupd.cpp	2007-04-28 23:00:53 UTC (rev 1612)
@@ -2188,12 +2188,8 @@
 			fflush(stdout);
 			
 			// Check there's a difference
-			#ifdef WIN32
-			compareReturnValue = ::system("perl testfiles/"						"extcheck1.pl A");
-			#else
 			compareReturnValue = ::system("perl testfiles/"
 				"extcheck1.pl");
-			#endif
 
 			TEST_RETURN(compareReturnValue, 1);
 			TestRemoteProcessMemLeaks("bbackupquery.memleaks");
@@ -2217,13 +2213,8 @@
 			printf("\n");
 			fflush(stdout);
 
-			#ifdef WIN32
 			compareReturnValue = ::system("perl testfiles/"
-				"extcheck2.pl A");
-			#else
-			compareReturnValue = ::system("perl testfiles/"
 				"extcheck2.pl");
-			#endif
 
 			TEST_RETURN(compareReturnValue, 1);
 			TestRemoteProcessMemLeaks("bbackupquery.memleaks");