diff options
author | Ryo Nakamura <upa@haeena.net> | 2023-09-09 14:51:47 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2023-11-01 19:54:18 +0900 |
commit | 53a560b130163568149d72baf0228ead28365cec (patch) | |
tree | 99377c5f19c2b3994a3ba75171ee0fbe14bc5323 /test/test_e2e.py | |
parent | bf74aa095adf8d0a3b4144b29b2d7a48fe4e02b2 (diff) |
fix test_e2e for ccalgo and tiny fix on test_dir_copy_single
Diffstat (limited to 'test/test_e2e.py')
-rw-r--r-- | test/test_e2e.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_e2e.py b/test/test_e2e.py index c46141b..2b30669 100644 --- a/test/test_e2e.py +++ b/test/test_e2e.py @@ -144,7 +144,7 @@ param_dir_copy_single = [ def test_dir_copy_single(mscp, src_prefix, dst_prefix, src_dir, dst_dir, src, dst): src.make() os.mkdir(dst_dir) - run2ok(["mscp", "-H", "-vvv", src_prefix + src_dir, dst_prefix + dst_dir]) + run2ok([mscp, "-H", "-vvv", src_prefix + src_dir, dst_prefix + dst_dir]) assert check_same_md5sum(src, dst) src.cleanup() dst.cleanup() @@ -279,7 +279,7 @@ def test_ccalgo(mscp, src_prefix, dst_prefix): run = run2ng elif platform.system() == "Linux": # Linux supports TCP_CONGESTION - with open("/proc/sys/net/ipv4/tcp_allowed_congestion_control", r) as f: + with open("/proc/sys/net/ipv4/tcp_allowed_congestion_control", "r") as f: algo = f.read().strip().split().pop() run = run2ok run([mscp, "-H", "-vvv", "-g", algo, src_prefix + src.path, dst_prefix + "dst"]) |