summaryrefslogtreecommitdiffhomepage
path: root/test/test-runner/src
AgeCommit message (Collapse)AuthorFilesLines
2025-11-03Add support for running alternative distros in E2E test frameworkMarkus Pettersson1-5/+13
2025-09-15Allow test-runner to be built against muslJoakim Hulthe1-1/+1
2025-09-12Split sys module in test-runner into one per platformDavid Lönnhager5-954/+934
2025-09-12Stop daemon correctly when changing log level in testsDavid Lönnhager1-17/+68
2025-09-12Check actual service status in test framework instead of only named pipeDavid Lönnhager2-17/+56
2025-07-11Make enable/disable daemon not start/stopSebastian Holmin1-2/+8
2025-07-11Add functions to toggle service startupSebastian Holmin2-14/+56
2025-07-11Add e2e test for clearing firewall rules on rebootMarkus Pettersson2-0/+22
In some conditions, you can be left with blocking firewall rules if an upgrade fails to install the new app version. Add e2e test to assert that these firewall rules are cleared on reboot for Windows.
2025-07-10Run `cargo fmt` in test-repoSebastian Holmin5-11/+11
2025-07-09Inline format argumentsLinus Färnstrand2-12/+11
2025-06-09Add ifconfig alias e2e testJoakim Hulthe1-0/+34
Co-Authored-By: David Lönnhager <david.l@mullvad.net>
2025-06-05Fix typosomahs1-1/+1
2025-05-14Truncate test framework logs to include recent logs, not the oldestDavid Lönnhager1-2/+4
2025-01-09Add doc-stringSebastian Holmin1-0/+1
2025-01-09Do not truncate `settings.json`Sebastian Holmin1-7/+8
2025-01-07Use absolute path to refer to `mullvad` binary in `test_upgrade_app`Markus Pettersson1-1/+8
2025-01-07Split up `Service` error variantsMarkus Pettersson2-43/+50
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>