diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-07-02 12:53:38 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-07-02 12:53:38 -0400 |
commit | 0e719d274cbd33bae28a8bd712d793024ed9b543 (patch) | |
tree | 9d093441f0a652e33061c94c6f37b240f7ea19d6 /Test.hs | |
parent | 38b6229bf74c7fbe18d94df0c2a9bbc528b30d57 (diff) |
log: Fix reversion introduced in version 5.20150528 that broke this command.
Diffstat (limited to 'Test.hs')
-rw-r--r-- | Test.hs | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -180,6 +180,7 @@ unitTests :: String -> TestTree unitTests note = testGroup ("Unit Tests " ++ note) [ testCase "add sha1dup" test_add_sha1dup , testCase "add extras" test_add_extras + , testCase "log" test_log , testCase "import" test_import , testCase "reinject" test_reinject , testCase "unannex (no copy)" test_unannex_nocopy @@ -282,6 +283,10 @@ test_add_extras = intmpclonerepo $ do annexed_present wormannexedfile checkbackend wormannexedfile backendWORM +test_log :: Assertion +test_log = intmpclonerepo $ do + git_annex "log" [annexedfile] @? "log failed" + test_import :: Assertion test_import = intmpclonerepo $ Utility.Tmp.withTmpDir "importtest" $ \importdir -> do (toimport1, importf1, imported1) <- mktoimport importdir "import1" |