summaryrefslogtreecommitdiff
path: root/test.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-12-22 13:53:06 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-12-22 14:00:17 -0400
commit6bffe509d7f1ec60168522585925a43dbfffbd36 (patch)
treea7fead7d1e5539139894f10c45f6d6c3d8d5cdc9 /test.hs
parent30cf6ce81ca8ff99f5284c5b991e546eb1da72ae (diff)
Add --include, which is the same as --not --exclude.
Diffstat (limited to 'test.hs')
-rw-r--r--test.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test.hs b/test.hs
index 645da588e..b4823fda8 100644
--- a/test.hs
+++ b/test.hs
@@ -524,6 +524,7 @@ test_find = "git-annex find" ~: intmpclonerepo $ do
annexed_notpresent sha1annexedfile
git_annex_expectoutput "find" [] [annexedfile]
git_annex_expectoutput "find" ["--exclude", annexedfile, "--and", "--exclude", sha1annexedfile] []
+ git_annex_expectoutput "find" ["--include", annexedfile] [annexedfile]
git_annex_expectoutput "find" ["--not", "--in", "origin"] []
git_annex_expectoutput "find" ["--copies", "1", "--and", "--not", "--copies", "2"] [sha1annexedfile]
git_annex_expectoutput "find" ["--inbackend", "SHA1"] [sha1annexedfile]