diff options
author | Ryo Nakamura <upa@haeena.net> | 2022-11-01 00:34:40 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2022-11-01 00:34:40 +0900 |
commit | b8ee9607323294916073529c4c36ff2e58ca7686 (patch) | |
tree | e01d66c84e246df41d38fd82cc501c7591c83c20 /test/test_e2e.py | |
parent | d62fc2cddd5ced47bb33464b3c462346a5592295 (diff) |
add test_transfer_zero_bytes
Diffstat (limited to 'test/test_e2e.py')
-rw-r--r-- | test/test_e2e.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test_e2e.py b/test/test_e2e.py index e2fd9d1..3091255 100644 --- a/test/test_e2e.py +++ b/test/test_e2e.py @@ -160,3 +160,10 @@ def test_cannot_override_file_with_dir(mscp, src_prefix, dst_prefix): src.cleanup() dst.cleanup() +@pytest.mark.parametrize("src_prefix, dst_prefix", param_remote_prefix) +def test_transfer_zero_bytes(mscp, src_prefix, dst_prefix): + src = File("src", size = 0).make() + run2ok([mscp, src_prefix + src.path, dst_prefix + "dst"]) + src.cleanup() + + |