summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-06-18 15:21:13 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-06-18 15:21:13 -0400
commitb7d73288608b59b9588f1266b4d4cb6a83d7cded (patch)
treef62399dfbfe17c3ff47bbfafb27336996ea0c944
parentebdabfb240ce21e49e9b850462d5b9cce8d69151 (diff)
disable a test that windows git doesn't support
-rw-r--r--Test.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Test.hs b/Test.hs
index 16a7af8f1..3be7c7772 100644
--- a/Test.hs
+++ b/Test.hs
@@ -216,8 +216,11 @@ test_add env = "git-annex add" ~: TestList [basic, sha1dup, subdirs]
git_annex env "add" ["dir"] @? "add of subdir failed"
createDirectory "dir2"
writeFile ("dir2" </> "foo") $ content annexedfile
+#ifndef __WINDOWS__
+ {- This does not work on Windows, for whatever reason. -}
setCurrentDirectory "dir"
git_annex env "add" [".." </> "dir2"] @? "add of ../subdir failed"
+#endif
test_reinject :: TestEnv -> Test
test_reinject env = "git-annex reinject/fromkey" ~: TestCase $ intmpclonerepoInDirect env $ do