[Box Backup-dev] COMMIT r923 - box/chris/merge/test/backupstore

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Fri Sep 1 09:47:48 BST 2006


Author: chris
Date: 2006-09-01 09:47:48 +0100 (Fri, 01 Sep 2006)
New Revision: 923

Modified:
   box/chris/merge/test/backupstore/testbackupstore.cpp
Log:
(refs #3)

Disable symlink tests on Win32


Modified: box/chris/merge/test/backupstore/testbackupstore.cpp
===================================================================
--- box/chris/merge/test/backupstore/testbackupstore.cpp	2006-09-01 08:45:50 UTC (rev 922)
+++ box/chris/merge/test/backupstore/testbackupstore.cpp	2006-09-01 08:47:48 UTC (rev 923)
@@ -1632,6 +1632,7 @@
 			TEST_THAT(decoded->GetNumBlocks() == 3);
 		}
 		
+#ifndef WIN32 // no symlinks on Win32
 		// Try out doing this on a symlink
 		{
 			TEST_THAT(::symlink("does/not/exist", "testfiles/testsymlink") == 0);
@@ -1645,6 +1646,7 @@
 			// Decode it
 			BackupStoreFile::DecodeFile(b, "testfiles/testsymlink_2", IOStream::TimeOutInfinite);
 		}
+#endif
 	}
 
 	// Store info




More information about the Boxbackup-dev mailing list