[Box Backup-commit] COMMIT r1001 - box/trunk/test/backupdiff

boxbackup-dev@fluffy.co.uk boxbackup-dev@fluffy.co.uk
Thu, 12 Oct 2006 23:20:58 +0100


Author: chris
Date: 2006-10-12 23:20:57 +0100 (Thu, 12 Oct 2006)
New Revision: 1001

Modified:
   box/trunk/test/backupdiff/testbackupdiff.cpp
Log:
 * Completely disable symlink test on Win32


Modified: box/trunk/test/backupdiff/testbackupdiff.cpp
===================================================================
--- box/trunk/test/backupdiff/testbackupdiff.cpp	2006-10-12 22:20:37 UTC (rev 1000)
+++ box/trunk/test/backupdiff/testbackupdiff.cpp	2006-10-12 22:20:57 UTC (rev 1001)
@@ -456,6 +456,7 @@
 		}
 	}
 	
+#ifndef WIN32	
 	// Check that symlinks aren't diffed
 	TEST_THAT(::symlink("f2", "testfiles/f2.symlink") == 0)
 	// And go and diff it against the previous encoded file
@@ -483,6 +484,7 @@
 		TEST_THAT(completelyDifferent == true);
 		check_encoded_file("testfiles/f2.symlink.diff", 0, 0, 0);		
 	}
+#endif
 
 	// Check that diffing against a file which isn't "complete" and referes another isn't allowed
 	{