summaryrefslogtreecommitdiffhomepage
path: root/test/test-runner/src
AgeCommit message (Collapse)AuthorFilesLines
2024-11-08Remove `once_cell` from `test` workspaceMarkus Pettersson1-2/+2
2024-11-08Check that the daemon version is correct post-upgradeMarkus Pettersson2-0/+24
2024-11-08Use `--allow-downgrade` when invoking `apt install`Markus Pettersson1-0/+7
2024-10-18Set HOME env var in test runnerDavid Lönnhager1-3/+15
2024-09-05Add 'assume yes' to package installs in testsDavid Lönnhager1-10/+16
2024-09-02Fix `test-runner` bootstrap failing if `apt` lock is already heldMarkus Pettersson1-12/+20
2024-08-27Use std LazyLock instead of once_cell LazyDavid Lönnhager2-6/+5
2024-08-22Spawn test processes as an unprivileged user by defaultDavid Lönnhager2-5/+80
Fixes an issue where the connection-checker is allowed to leak traffic on macOS
2024-08-09Capture errors in `systemclt` cmdSebastian Holmin1-5/+19
2024-08-09Fix nightly lintsSebastian Holmin1-1/+1
2024-07-16Add E2E test of CVE-2019-14899 mitigationJoakim Hulthe2-3/+45
2024-06-24Run `cargo +nightly fmt`Sebastian Holmin1-3/+6
2024-04-12Reset daemon environment when neededMarkus Pettersson2-29/+201
2024-04-09Run `cargo +nightly fmt`Sebastian Holmin3-30/+33
2024-04-08Add get_os_version RPCDavid Lönnhager2-0/+41
2024-04-08Add timeout to tester geoip rcp callJoakim Hulthe1-3/+11
2024-03-20Test leaking TCP/UDP/ICMP packets in split tunnelJoakim Hulthe2-8/+237
2024-03-08Add MTU detection integration test for Linux and WindowsSebastian Holmin2-74/+92
Add dependency `scopeguard` for cleaning up nftables ruleset.
2024-02-27Fix `clippy` lint 'suspicious_open_options'Markus Pettersson1-0/+2
2024-02-27Replace err_derive with thiserrorJoakim Hulthe1-2/+2
`err_derive` is unmaintained and will probably stop working with rust edition 2024. `thiserror` is almost a drop-in replacement. This commit simply replaces all occurences of `derive(err_derive::Error)` with `derive(thiserror::Error)` and fixes the attributes, but the Error and Display impls should be identical.
2024-02-07Add RPCs for running TCP forwarder on test runnerDavid Lönnhager2-0/+146
2024-02-01Set serial baud rate to zero on macOSLinus Färnstrand1-1/+6
2024-01-08Add 'target_os' attribute to test macroDavid Lönnhager1-5/+0
2024-01-04Fix code not following new linting rules in testing frameworkLinus Färnstrand1-2/+2
2023-12-15[Clippy] Fix unused `async`Markus Pettersson3-3/+4
2023-12-12Fix `stop_app` RPC for macosMarkus Pettersson1-1/+1
2023-12-06Remove superseded RPC for restarting the Mullvad system serviceMarkus Pettersson2-60/+24
The function `set_mullvad_daemon_service_state(on: bool) -> Result<(), test_rpc::Error>`, which would conditionally start or stop the Mullvad daemon in the test runner, has been superseded by two separate functions which accomplish the same thing: `start_mullvad_daemon` & `stop_mullvad_daemon`.
2023-12-06Implement RPC for reading & writing to app cache fileMarkus Pettersson4-51/+158
- Implement RPC for writing to a file in a test runner / guest VM. - Implement RPC for getting app cache directory - Implement RPC for restarting the app in a test runner / guest vm - Implement RPC for starting the app in a test runner / guest vm - Implement RPC for stopping the app in a test runner / guest vm - Implement `find_cache_traces` on Window & macOS
2023-11-22Obtain tunnel interface from management interface in testsDavid Lönnhager2-123/+57
2023-10-24Truncate log files in tests and ignore old logsDavid Lönnhager1-5/+32
2023-10-21Remove references to talpid-windows-net in e2e testsDavid Lönnhager1-6/+6
2023-10-20Add desktop end-to-end testsDavid Lönnhager6-0/+1840
Co-authored-by: Jonathan <jonathan@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>