summaryrefslogtreecommitdiff
path: root/Test.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-02-09 15:24:33 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-02-09 15:37:26 -0400
commitd3aeb09c68cd0e58d5ffd29b09988b52daa42eff (patch)
tree40d25dd28a7ea364a3947c6fe41c3664e86f32b4 /Test.hs
parentc931516fb2de05e5b2bc2cb2d1548f9c6362c542 (diff)
Windows: Fix bug in dropping an annexed file, which caused a symlink to be staged that contained backslashes.
Diffstat (limited to 'Test.hs')
-rw-r--r--Test.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Test.hs b/Test.hs
index bb70df52a..dc65dcda4 100644
--- a/Test.hs
+++ b/Test.hs
@@ -330,6 +330,9 @@ test_drop_withremote = intmpclonerepo $ do
git_annex "numcopies" ["1"] @? "numcopies config failed"
git_annex "drop" [annexedfile] @? "drop failed though origin has copy"
annexed_notpresent annexedfile
+ -- make sure that the correct symlink is staged for the file
+ -- after drop
+ git_annex_expectoutput "status" [] []
inmainrepo $ annexed_present annexedfile
test_drop_untrustedremote :: Assertion