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

subversion at boxbackup.org subversion at boxbackup.org
Fri Dec 26 23:17:02 GMT 2014


Author: chris
Date: 2014-12-26 23:17:02 +0000 (Fri, 26 Dec 2014)
New Revision: 3499

Modified:
   box/trunk/test/bbackupd/testbbackupd.cpp
Log:
Add comments about why some tests are skipped on Windows.

Modified: box/trunk/test/bbackupd/testbbackupd.cpp
===================================================================
--- box/trunk/test/bbackupd/testbbackupd.cpp	2014-12-26 23:16:59 UTC (rev 3498)
+++ box/trunk/test/bbackupd/testbbackupd.cpp	2014-12-26 23:17:02 UTC (rev 3499)
@@ -556,6 +556,8 @@
 	// Apply attributes to these new files
 	t1.WriteAttributes("testfiles/test1_n");
 #ifdef WIN32
+	// We can't apply symlink attributes on Win32, so use a normal file's
+	// attributes instead.
 	t1.WriteAttributes("testfiles/test2_n");
 #else
 	t2.WriteAttributes("testfiles/test2_n");
@@ -4041,6 +4043,7 @@
 	SETUP_WITH_BBSTORED();
 
 #ifndef WIN32
+	// There are no tests for mandatory locks on non-Windows platforms yet.
 	BOX_NOTICE("skipping test on this platform");
 #else
 	// TODO FIXME dedent




More information about the Boxbackup-commit mailing list