disable a test that windows git doesn't support
This commit is contained in:
parent
4e28e84baf
commit
55f971de3c
1 changed files with 3 additions and 0 deletions
3
Test.hs
3
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
|
||||
|
|
Loading…
Add table
Reference in a new issue