diff options
Diffstat (limited to 'test/test_e2e.py')
-rw-r--r-- | test/test_e2e.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test_e2e.py b/test/test_e2e.py index 61a3532..515717f 100644 --- a/test/test_e2e.py +++ b/test/test_e2e.py @@ -174,3 +174,11 @@ def test_transfer_zero_bytes(mscp, src_prefix, dst_prefix): src.cleanup() dst.cleanup() +@pytest.mark.parametrize("src_prefix, dst_prefix", param_remote_prefix) +def test_override_dst_having_larger_size(mscp, src_prefix, dst_prefix): + src = File("src", size = 1024 * 1024).make() + dst = File("dst", size = 1024 * 1024 * 2).make() + run2ok([mscp, "-H", src_prefix + src.path, dst_prefix + "dst"]) + assert check_same_md5sum(src, dst) + src.cleanup() + dst.cleanup() |