don't test rsync special remote on windows
git-annex no longer ships with rsync on windows so this will generally fail
This commit is contained in:
parent
868942e19b
commit
aac0e187c5
1 changed files with 2 additions and 0 deletions
2
Test.hs
2
Test.hs
|
@ -1585,6 +1585,7 @@ test_directory_remote = intmpclonerepo $ do
|
||||||
|
|
||||||
test_rsync_remote :: Assertion
|
test_rsync_remote :: Assertion
|
||||||
test_rsync_remote = intmpclonerepo $ do
|
test_rsync_remote = intmpclonerepo $ do
|
||||||
|
#ifndef mingw32_HOST_OS
|
||||||
createDirectory "dir"
|
createDirectory "dir"
|
||||||
git_annex "initremote" (words "foo type=rsync encryption=none rsyncurl=dir") @? "initremote failed"
|
git_annex "initremote" (words "foo type=rsync encryption=none rsyncurl=dir") @? "initremote failed"
|
||||||
git_annex "get" [annexedfile] @? "get of file failed"
|
git_annex "get" [annexedfile] @? "get of file failed"
|
||||||
|
@ -1597,6 +1598,7 @@ test_rsync_remote = intmpclonerepo $ do
|
||||||
annexed_present annexedfile
|
annexed_present annexedfile
|
||||||
git_annex_shouldfail "drop" [annexedfile, "--numcopies=2"] @? "drop failed to fail"
|
git_annex_shouldfail "drop" [annexedfile, "--numcopies=2"] @? "drop failed to fail"
|
||||||
annexed_present annexedfile
|
annexed_present annexedfile
|
||||||
|
#endif
|
||||||
|
|
||||||
test_bup_remote :: Assertion
|
test_bup_remote :: Assertion
|
||||||
test_bup_remote = intmpclonerepo $ when BuildInfo.bup $ do
|
test_bup_remote = intmpclonerepo $ when BuildInfo.bup $ do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue