summaryrefslogtreecommitdiff
path: root/test/test_e2e.py
AgeCommit message (Collapse)Author
2024-04-15resume: fix increment idx only when path is added (#16)Ryo Nakamura
2024-04-14add -J proxyjump option (#15)Ryo Nakamura
2024-04-12add -o SSH_OPTION optionRyo Nakamura
2024-04-11drop -H disable host key checking optionRyo Nakamura
It can be done by ssh_config instead.
2024-04-10add -L limit bitrate option (#14)Ryo Nakamura
2024-03-16chmod after truncate and setutimes on the remote side.Ryo Nakamura
When the source file permission is r--r--r--, truncate and setutimes AFTER chmod fail due to permission deined. So, do chmod after truncate and setutimes.
2024-03-12fix port tests and v6only test.Ryo Nakamura
port test: sshd listens on 8022 and run mscp with -P 8022 v6only test: change remote name from localhost to ip6-localhost
2024-02-20add test cases for resume with checkpointRyo Nakamura
Now mscp supports resume (#5) and (#10)
2024-02-11avoid * in paths from two test cases for alpineRyo Nakamura
2024-02-11change chunk_pool from list to poolRyo Nakamura
2024-02-11change path_list to path_poolRyo Nakamura
2024-02-07add -4 and -6 options to use either IPv4 or IPv6Ryo Nakamura
2024-02-06add two env vars to pass password/keyphrase (#9)Ryo Nakamura
MSCP_SSH_AUTH_PASSWORD passes a password, and MSCP_SSH_AUTH_PASSPHRASE passes a passphrase for publickey auth. They enable avoiding interactive password input. Test cases are also added.
2024-01-18fix wrong dst path for source path under '/'Ryo Nakamura
When a source file path is /FILE, its dest path would be dst/ILE. This commit fixes this issue (#8).
2024-01-18add a test case test_copy_file_under_root_to_dirRyo Nakamura
Coping a file under / (root) to a remote directory causes corrupted remote path (Issue #8).
2023-11-25add -P, equivalent to -p for just compatibilityRyo Nakamura
and add a test case for -p and -P
2023-11-25add -I interval optionRyo Nakamura
-I INTERVAL option inserts sleep for interval (seconds) between SSH connection attempts (issue #7).
2023-11-01fix parsing user@host:path.Ryo Nakamura
This commit fixes issue #6. Now mscp command correctly parses [x::x] IPv6 address notation in hostname.
2023-11-01fix test_e2e for ccalgo and tiny fix on test_dir_copy_singleRyo Nakamura
2023-11-01add -g option to specify TCP cc algorithmRyo Nakamura
This commit introduce SSH_OPTIONS_CCALGO option to the libssh patch and add -g CONGESTION option to mscp.
2023-08-30fix mscp_opendir, do not use `tls_sftp`, use `sftp` isntead.Ryo Nakamura
The fixed issue causes mscp_opendir wrongly calls opendir() for local when tls_sftp is NULL although sftp is not NULL.
2023-08-04do not set O_TRUNC when opening destination file.Ryo Nakamura
It prevents `mscp localhost:hoge ~/hoge` from truncating the source file. See https://bugzilla.mindrot.org/show_bug.cgi?id=3431. https://github.com/upa/mscp/issues/1
2023-08-04add test for specifying ssh_configRyo Nakamura
2023-08-03use pseudo glob/globfree for remote-glob when muslRyo Nakamura
musllibc does not implement GLOB_ALTDIRFUNC, so do not call glob for remote sides when libc is musl. test_e2e.py skips test_glob_src_path when running on alpine.
2023-08-03add glob for source pathsRyo Nakamura
https://github.com/upa/mscp/issues/3
2023-03-26Merge branch 'main' of github.com:upa/mscpRyo Nakamura
2023-03-25fix error handling when scan thread failed.Ryo Nakamura
set chunk pool to fill to invoke copy threads when scan failed.
2023-03-22test: set min_chunk_sz to 32768 on test_min_chunkRyo Nakamura
Page size of arm mac is 16384.
2023-03-12test: add test_python.py for testing python-mscpRyo Nakamura
Dockerfiles also adapt themselvs for testing python-mscp bindings.
2023-03-10remove numpy from test, and fix compiling single binary mscpRyo Nakamura
2023-03-03add mscp_ssh_opts and change -C optargRyo Nakamura
2022-11-18add O_TRUNC when the first open() for a fileRyo Nakamura
2022-11-18fix when copy multiple sources and various tiny fixesRyo Nakamura
* when copying multiple sources, target must be directory * add multi-src copy test and parametrize src/dst prefixes * cleanup REAMDE (s/sessions/connections/g) * make error output in copy functions simple
2022-11-15add -m coremask optionRyo Nakamura
2022-11-05add -H option to disable host key checkRyo Nakamura
tests use this option.
2022-11-05create file at the remote although file size is 0Ryo Nakamura
2022-11-01add test_transfer_zero_bytesRyo Nakamura
2022-11-01capture retval from copy threadsRyo Nakamura
2022-11-01add ctest to run pytestRyo Nakamura
2022-10-31add (not complete) end-to-end test with pytestRyo Nakamura