[Box Backup-commit] COMMIT r1101 - box/trunk/test/backupstore
boxbackup-dev@fluffy.co.uk
boxbackup-dev@fluffy.co.uk
Fri, 27 Oct 2006 19:53:20 +0100
Author: chris
Date: 2006-10-27 19:53:20 +0100 (Fri, 27 Oct 2006)
New Revision: 1101
Modified:
box/trunk/test/backupstore/testbackupstore.cpp
Log:
Disable symlink tests on Win32
Modified: box/trunk/test/backupstore/testbackupstore.cpp
===================================================================
--- box/trunk/test/backupstore/testbackupstore.cpp 2006-10-27 18:45:57 UTC (rev 1100)
+++ box/trunk/test/backupstore/testbackupstore.cpp 2006-10-27 18:53:20 UTC (rev 1101)
@@ -1611,6 +1611,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);
@@ -1624,6 +1625,7 @@
// Decode it
BackupStoreFile::DecodeFile(b, "testfiles/testsymlink_2", IOStream::TimeOutInfinite);
}
+#endif
}
// Store info