diff options
| author | Markus Pettersson <markus.pettersson@mullvad.net> | 2024-09-04 08:55:42 +0200 |
|---|---|---|
| committer | Markus Pettersson <markus.pettersson@mullvad.net> | 2024-09-04 08:55:42 +0200 |
| commit | 82bca5a566e8d57b5d90dd53c4c9ec9640c2b345 (patch) | |
| tree | 5ec56c69eb47f21d574f0d6ff402eb5957c0abcc /test | |
| parent | fd71a6414c059b1d4328a0469391fce638d491ed (diff) | |
| parent | 0c0ba4ab700411b242459e305a89d7f218ccb637 (diff) | |
| download | mullvadvpn-82bca5a566e8d57b5d90dd53c4c9ec9640c2b345.tar.xz mullvadvpn-82bca5a566e8d57b5d90dd53c4c9ec9640c2b345.zip | |
Merge branch 'change-custom-openvpn-cert-test-script'
Diffstat (limited to 'test')
| -rwxr-xr-x | test/scripts/test-utils.sh | 1 | ||||
| -rwxr-xr-x | test/test-by-version.sh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/test/scripts/test-utils.sh b/test/scripts/test-utils.sh index 8a3745725f..6ee2ebed52 100755 --- a/test/scripts/test-utils.sh +++ b/test/scripts/test-utils.sh @@ -294,6 +294,7 @@ function run_tests_for_os { "${test_report_arg[@]}" \ --package-dir "${package_dir}" \ --vm "$vm" \ + --openvpn-certificate "${OPENVPN_CERTIFICATE:-"assets/openvpn.ca.crt"}" \ "${test_filters_arg[@]}" \ "${runner_dir_flag[@]}" \ 2>&1 | sed -r "s/${ACCOUNT_TOKEN}/\{ACCOUNT_TOKEN\}/g"; then diff --git a/test/test-by-version.sh b/test/test-by-version.sh index 953279526c..56e1354419 100755 --- a/test/test-by-version.sh +++ b/test/test-by-version.sh @@ -11,6 +11,7 @@ usage() { echo "Optional environment variables:" echo " - APP_VERSION: The version of the app to test (defaults to the latest stable release)" echo " - APP_PACKAGE_TO_UPGRADE_FROM: The package version to upgrade from (defaults to none)" + echo " - OPENVPN_CERTIFICATE: Path to an OpenVPN CA certificate the app should use during test (defaults to assets/openvpn.ca.crt)" echo " - TEST_DIST_DIR: Relative path to a directory with prebuilt binaries as produced by scripts/build.sh." echo " - TEST_FILTERS: specifies which tests to run (defaults to all)" echo " - TEST_REPORT : path to save the test results in a structured format" |
