[ testCase "add dup" test_add_dup
, testCase "add extras" test_add_extras
, testCase "add moved link" test_add_moved
- , testCase "git-remote-annex" test_git_remote_annex
+ , testCase "git-remote-annex" (test_git_remote_annex False)
+ , testCase "git-remote-annex exporttree" (test_git_remote_annex True)
, testCase "readonly remote" test_readonly_remote
, testCase "ignore deleted files" test_ignore_deleted_files
, testCase "metadata" test_metadata
annexed_present wormannexedfile
checkbackend wormannexedfile backendWORM
-test_git_remote_annex :: Assertion
-test_git_remote_annex = do
- testspecialremote [] $
- git_annex "copy" ["--to=foo"] "copy"
- testspecialremote ["importtree=yes", "exporttree=yes"] $
- git_annex "export" ["master", "--to=foo"] "export"
+test_git_remote_annex :: Bool -> Assertion
+test_git_remote_annex exporttree
+ | exporttree =
+ testspecialremote ["importtree=yes", "exporttree=yes"] $
+ git_annex "export" ["master", "--to=foo"] "export"
+ | otherwise =
+ testspecialremote [] $
+ git_annex "copy" ["--to=foo"] "copy"
where
testspecialremote cfg populate = intmpclonerepo $ do
let cfg' = ["type=directory", "encryption=none", "directory=dir"] ++ cfg
--- /dev/null
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 2"""
+ date="2024-11-19T16:48:25Z"
+ content="""
+Re the OSX failure, it seems that somehow the manifest key is not being
+found when the test is run on OSX. I don't know why. There is nothing in
+this code that should be OSX-specific.
+
+Unfortunately I do have access to any OSX system to try to investigate
+this. The "datalads-mac" I used to use does not seem to exist anymore.
+
+Of course, this test could be skipped on OSX.
+
+Does occur to me this could somehow be exposing a deeper problem on OSX
+with exporttree special remotes. I have split the failing test in two, so
+we'll see if both fail, or only the exporttree one.
+"""]]