avoid pushing the special remote to origin
The sync is only to sync up the adjusted branch, not other info. Since many tests use their own special remote named "foo", the push broke later tests.
This commit is contained in:
parent
298812a353
commit
57b24b2510
1 changed files with 2 additions and 2 deletions
4
Test.hs
4
Test.hs
|
@ -1743,7 +1743,7 @@ test_export_import = intmpclonerepoInDirect $ do
|
|||
-- When on an adjusted branch, this updates the master branch
|
||||
-- to match it, which is necessary since the master branch is going
|
||||
-- to be exported.
|
||||
git_annex "sync" [] @? "sync failed"
|
||||
git_annex "sync" ["--no-pull", "--no-push"] @? "sync failed"
|
||||
|
||||
git_annex "export" ["master", "--to", "foo"] @? "export to dir failed"
|
||||
dircontains annexedfile (content annexedfile)
|
||||
|
@ -1804,7 +1804,7 @@ test_export_import_subdir = intmpclonerepoInDirect $ do
|
|||
-- When on an adjusted branch, this updates the master branch
|
||||
-- to match it, which is necessary since the master branch is going
|
||||
-- to be exported.
|
||||
git_annex "sync" [] @? "sync failed"
|
||||
git_annex "sync" ["--no-pull", "--no-push"] @? "sync failed"
|
||||
|
||||
-- Run three times because there was a bug that took a couple
|
||||
-- of runs to lead to the wrong tree being written to the remote
|
||||
|
|
Loading…
Reference in a new issue