summaryrefslogtreecommitdiffhomepage
path: root/test/test-runner
AgeCommit message (Collapse)AuthorFilesLines
2025-11-03Add support for running alternative distros in E2E test frameworkMarkus Pettersson1-5/+13
2025-10-03Update winregDavid Lönnhager1-1/+1
2025-09-24Make `dirs` a workspace dependency and upgrade to 6.0.0Linus Färnstrand1-1/+1
2025-09-23Promote `rand` to a workspace dependency in `test` workspaceMarkus Pettersson1-1/+1
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 Hulthe2-1/+37
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-24Complete leak checker and implement in daemonJoakim Hulthe1-1/+1
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 Pettersson2-3/+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önnhager2-3/+16
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önnhager3-6/+81
Fixes an issue where the connection-checker is allowed to leak traffic on macOS
2024-08-14Make talpid-dbus optional in talpid-platform-metadataDavid Lönnhager1-1/+1
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 Hulthe3-4/+46
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 Hulthe3-9/+238
2024-03-08Add MTU detection integration test for Linux and WindowsSebastian Holmin3-80/+100
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 Hulthe2-3/+3
`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-16Add rust-version to all Cargo.tomlLinus Färnstrand1-0/+1
2024-01-11Add package metadata to crates in testing frameworkLinus Färnstrand1-1/+5
Such as authors, repository, licence etc. And have all crates inherit from the workspace
2024-01-09Remove version and publish cargo metadataLinus Färnstrand1-1/+0
Since Rust 1.75.0 the `version` field is optional. The version defaults to "0.0.0" if it's not specified, and `publish` defaults to false if no version has been given. So by not specifying a version we get both `version = "0.0.0" and `publish = false` "for free"
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
2024-01-04Add workspace level linting to test workspaceLinus Färnstrand1-0/+3