summaryrefslogtreecommitdiffhomepage
path: root/test/scripts
AgeCommit message (Collapse)AuthorFilesLines
2025-01-22Format scriptsSebastian Holmin1-68/+68
2024-11-18Add MULLVAD_HOST setting to test-by-version.shDavid Lönnhager1-0/+7
2024-11-07Replace hardcoded usage of "podman" with configurable versionLinus Färnstrand1-1/+1
2024-10-22Match parsing of version tag in test frameworkSebastian Holmin1-1/+2
2024-10-22Fix parsing of build tagSebastian Holmin1-14/+19
The regex that parses the version contained quotation marks, which caused the matching to fail. Also split separate this parsing from the `is_dev_version` fn to its own fn, and refactor it to make the parsed substrings named variables.
2024-10-21Update Rust before running end-to-end testsDavid Lönnhager1-0/+6
2024-10-18Set HOME env var in test runnerDavid Lönnhager1-2/+3
2024-10-02Remove architecture suffix on Windows x64 installerOskar1-1/+1
2024-10-01Rename account "token" to account "number"Joakim Hulthe1-1/+1
2024-09-05Add 'assume yes' to package installs in testsDavid Lönnhager1-3/+3
2024-09-04Add `OPENVPN_CERTIFICATE` argument to `test-by-version`Markus Pettersson1-0/+1
2024-09-02Fix `test-runner` bootstrap failing if `apt` lock is already heldMarkus Pettersson1-3/+11
2024-08-29Fix test_split_tunnelDavid Lönnhager1-0/+3
Raw ICMP isn't allowed on all platforms for unprivileged users. Instead: * Use SOCK_DGRAM, where possible * Use 'ping' command, since SOCK_DGRAM isn't allowed on some older Linux distros.
2024-08-22Spawn test processes as an unprivileged user by defaultDavid Lönnhager1-0/+19
Fixes an issue where the connection-checker is allowed to leak traffic on macOS
2024-08-16Remove cargo dependency when running e2e testsMagnus Lindstrom3-11/+47
This commit enables the usage of the dist/ directory, and also adds mullvad-version to it so that test-by-version.sh can operate without rust installed at all. To make use of predefined binaries in a separate directory, refer to that directory by using the env var TEST_DIST_DIR=<dir path> and the binaries will be used if they can be found there. If TEST_DIST_DIR is specified, all of the following binaries need to be there: - connection-checker - mullvad-version - test-manager - test-runner Also added a /dev/null redirect of a cd output so that one's able to use CDPATH while running the tests.
2024-08-16Fix bug if `TEST_PACKAGE` doesn't existSebastian Holmin1-1/+1
2024-08-16Improve logs and reduce verbositySebastian Holmin1-1/+2
Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>
2024-08-15Fix word splitting of `TEST_FILTERS` env varSebastian Holmin1-1/+2
2024-08-15Add support for Windows ARM64Daniel Paoliello1-1/+1
2024-08-14Add script for building test framework artifactsMarkus Pettersson3-1/+53
Pass `TEST_MANAGER_STATIC` when building the `test-manager` crate to have it link statically against `libpcap`. This is optional, but building the with the provided container will produce a statically linked binary.
2024-08-14Build `libpcap` without dbusDavid Lönnhager1-1/+17
2024-08-12Replace OpenVPN CA certificate using CLI flagMarkus Pettersson2-2/+1
2024-08-09Restructure test scriptsSebastian Holmin6-1/+462
Split functionality `ci-runtest.sh` into multiple scripts. `test-by-version.sh` can be used to test against any version of the app available on the build servers. `test-utils.sh` contains shared logic. Rename `PACKAGES_DIR` env `PACKAGE_DIR`, it's more consistent with the new CLI flag.
2024-07-19Rename `--current-app` to `--app-package`Sebastian Holmin1-2/+2
2024-06-25Increase Windows test image sizeDavid Lönnhager1-1/+1
2024-03-20Test leaking TCP/UDP/ICMP packets in split tunnelJoakim Hulthe2-2/+2
2024-03-20Add am-i-mullvad cli for testing split tunnelingJoakim Hulthe1-0/+1
2024-02-02Fix `shellcheck` lints of our various bash scriptsSebastian Holmin1-3/+3
The following lints have been fixed: SC2046,SC2086,SC2068,SC2148,SC2007,SC2004,SC2006, SC2164,SC2145,SC1091,SC2034,SC2155.
2024-01-12Remove legacy provisioning for linuxDavid Lönnhager1-19/+0
2024-01-12Add podman and docker to ssh-setup.shDavid Lönnhager1-2/+8
2024-01-09Exit immediately if ssh-setup.sh failsDavid Lönnhager1-2/+5
2023-10-24Ignore irrelevant files in build-runner-image.shDavid Lönnhager1-4/+5
2023-10-20Add desktop end-to-end testsDavid Lönnhager2-0/+174
Co-authored-by: Jonathan <jonathan@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>