Use tempdir for tests (#993)
* Use tempdir for tests
* Rename tmp to tempdir
* Update Cargo.lock
* Update expect error message in run_command_and_kill
* Call with .path() rather than creating an string slice
* Call tempdir with arg instead of args
* Update tests/purge_chain_works.rs
Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com>
Showing
- Cargo.lock 1 addition, 0 deletionsCargo.lock
- Cargo.toml 1 addition, 0 deletionsCargo.toml
- tests/invalid_order_arguments.rs 5 additions, 2 deletionstests/invalid_order_arguments.rs
- tests/purge_chain_works.rs 10 additions, 7 deletionstests/purge_chain_works.rs
- tests/running_the_node_and_interrupt.rs 6 additions, 3 deletionstests/running_the_node_and_interrupt.rs
Please register or sign in to comment