diff options
author | Ryo Nakamura <upa@haeena.net> | 2022-11-01 00:17:05 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2022-11-01 00:17:05 +0900 |
commit | 7039b84c4fe56c88d73f43eb30fcf1372d6263ed (patch) | |
tree | 365d14d03769887bfd026c0b4044c7e5508c972e /test | |
parent | 07b9d8ca554503c41bb479dc3159cfbcd9b0c5b2 (diff) |
capture retval from copy threads
Diffstat (limited to 'test')
-rw-r--r-- | test/test_e2e.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/test_e2e.py b/test/test_e2e.py index 5d5dfaa..e2fd9d1 100644 --- a/test/test_e2e.py +++ b/test/test_e2e.py @@ -149,3 +149,14 @@ def test_min_chunk(mscp, src_prefix, dst_prefix): src.cleanup() dst.cleanup() + +@pytest.mark.parametrize("src_prefix, dst_prefix", param_remote_prefix) +def test_cannot_override_file_with_dir(mscp, src_prefix, dst_prefix): + src = File("src", size = 128).make() + dst = File("dst").make() + + run2ng([mscp, src_prefix + src.path, dst_prefix + "dst/src"]) + + src.cleanup() + dst.cleanup() + |