summaryrefslogtreecommitdiff
path: root/test/backupdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2006-09-01 07:54:40 +0000
committerChris Wilson <chris+github@qwirx.com>2006-09-01 07:54:40 +0000
commitfc470983d6d94a41fbdf9e8d1dc4a154993d8467 (patch)
tree82abc61a35fd26da5ae15e4b8f9d2f9babadc111 /test/backupdiff
parent77ce6b04eccfc64b7f7a91cf2376ebb1e28fd56e (diff)
(refs #3)
Completely disable symlink test on Win32
Diffstat (limited to 'test/backupdiff')
-rw-r--r--test/backupdiff/testbackupdiff.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/backupdiff/testbackupdiff.cpp b/test/backupdiff/testbackupdiff.cpp
index 7a48ec20..a1b4287e 100644
--- a/test/backupdiff/testbackupdiff.cpp
+++ b/test/backupdiff/testbackupdiff.cpp
@@ -456,6 +456,7 @@ int test(int argc, const char *argv[])
}
}
+#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 @@ int test(int argc, const char *argv[])
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
{