mirror of
https://github.com/upa/mscp.git
synced 2026-02-04 11:34:44 +08:00
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.
This test assumes that the user executing the test can ssh to the localhost without password.
- Run pytest through ctest.
python3 -m pip install pytest numpy
cd build
cmake ..
ctest --verbose # or `make test ARGS='-V'`