Windows: Fixed permissions problem that prevented removing files from directory special remote.

Directory special remotes now fully usable.
This commit is contained in:
Joey Hess 2013-08-04 13:39:31 -04:00
parent 06db8e0bd9
commit 38022f4f49
4 changed files with 8 additions and 4 deletions

View file

@ -802,13 +802,10 @@ test_directory_remote env = "git-annex directory remote" ~: intmpclonerepo env $
annexed_present annexedfile
git_annex env "drop" [annexedfile, "--numcopies=2"] @? "drop failed"
annexed_notpresent annexedfile
#ifndef mingw32_HOST_OS
-- moving from directory special remote fails on Windows TODO
git_annex env "move" [annexedfile, "--from", "foo"] @? "move --from directory remote failed"
annexed_present annexedfile
not <$> git_annex env "drop" [annexedfile, "--numcopies=2"] @? "drop failed to fail"
annexed_present annexedfile
#endif
test_rsync_remote :: TestEnv -> Test
test_rsync_remote env = "git-annex rsync remote" ~: intmpclonerepo env $ do