more tests
This commit is contained in:
parent
f189929b8b
commit
7d15a5795a
1 changed files with 12 additions and 0 deletions
12
test.hs
12
test.hs
|
@ -137,6 +137,12 @@ test_move = "git-annex move" ~: intmpclonerepo $ do
|
||||||
checklink annexedfile
|
checklink annexedfile
|
||||||
checkdangling annexedfile
|
checkdangling annexedfile
|
||||||
checkunwritable annexedfile
|
checkunwritable annexedfile
|
||||||
|
git_annex "move" ["-q", "--to", "origin", ingitfile] @? "move of ingitfile should be no-op"
|
||||||
|
checkregularfile ingitfile
|
||||||
|
checkcontent ingitfile
|
||||||
|
git_annex "move" ["-q", "--from", "origin", ingitfile] @? "move of ingitfile should be no-op"
|
||||||
|
checkregularfile ingitfile
|
||||||
|
checkcontent ingitfile
|
||||||
|
|
||||||
test_copy :: Test
|
test_copy :: Test
|
||||||
test_copy = "git-annex copy" ~: intmpclonerepo $ do
|
test_copy = "git-annex copy" ~: intmpclonerepo $ do
|
||||||
|
@ -156,6 +162,12 @@ test_copy = "git-annex copy" ~: intmpclonerepo $ do
|
||||||
checklink annexedfile
|
checklink annexedfile
|
||||||
checkdangling annexedfile
|
checkdangling annexedfile
|
||||||
checkunwritable annexedfile
|
checkunwritable annexedfile
|
||||||
|
git_annex "copy" ["-q", "--to", "origin", ingitfile] @? "copy of ingitfile should be no-op"
|
||||||
|
checkregularfile ingitfile
|
||||||
|
checkcontent ingitfile
|
||||||
|
git_annex "copy" ["-q", "--from", "origin", ingitfile] @? "copy of ingitfile should be no-op"
|
||||||
|
checkregularfile ingitfile
|
||||||
|
checkcontent ingitfile
|
||||||
|
|
||||||
|
|
||||||
git_annex :: String -> [String] -> IO Bool
|
git_annex :: String -> [String] -> IO Bool
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue