diff options
author | Joey Hess <joey@kitenet.net> | 2013-06-18 15:15:00 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-06-18 15:15:00 -0400 |
commit | ebdabfb240ce21e49e9b850462d5b9cce8d69151 (patch) | |
tree | 0a5413dd4d043e2d18333da14794fb2c96a2e93e | |
parent | 6cee6c3d77e0f4389f0ccff13496cfd3bd05cc8c (diff) |
more slash fixes
-rw-r--r-- | Test.hs | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -212,12 +212,12 @@ test_add env = "git-annex add" ~: TestList [basic, sha1dup, subdirs] annexed_present sha1annexedfile subdirs = TestCase $ intmpclonerepo env $ do createDirectory "dir" - writeFile "dir/foo" $ content annexedfile + writeFile ("dir" </> "foo") $ content annexedfile git_annex env "add" ["dir"] @? "add of subdir failed" createDirectory "dir2" - writeFile "dir2/foo" $ content annexedfile + writeFile ("dir2" </> "foo") $ content annexedfile setCurrentDirectory "dir" - git_annex env "add" ["../dir2"] @? "add of ../subdir failed" + git_annex env "add" [".." </> "dir2"] @? "add of ../subdir failed" test_reinject :: TestEnv -> Test test_reinject env = "git-annex reinject/fromkey" ~: TestCase $ intmpclonerepoInDirect env $ do |