diff options
Diffstat (limited to 'test/test-by-version.sh')
| -rwxr-xr-x | test/test-by-version.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test-by-version.sh b/test/test-by-version.sh index e9de281bad..f409a214cc 100755 --- a/test/test-by-version.sh +++ b/test/test-by-version.sh @@ -7,7 +7,7 @@ usage() { echo echo "Required environment variables:" echo " - ACCOUNT_TOKEN: Valid MullvadVPN account number" - echo " - TEST_OS: Name of the VM configuration to use. List available configurations with 'cargo run --bin test-manager list'" + echo " - TEST_OS: Name of the VM configuration to use. List available configurations with 'cargo run --bin test-manager config vm list'" 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)" @@ -18,13 +18,13 @@ usage() { echo " - TEST_REPORT : path to save the test results in a structured format" } -SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" cd "$SCRIPT_DIR" # shellcheck source=test/scripts/test-utils.sh source "scripts/test-utils.sh" -if [[ ( "$*" == "--help") || "$*" == "-h" ]]; then +if [[ ("$*" == "--help") || "$*" == "-h" ]]; then usage exit 0 fi |
