summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorSebastian Holmin <sebastian.holmin@mullvad.net>2024-07-17 20:55:15 +0200
committerSebastian Holmin <sebastian.holmin@mullvad.net>2024-07-19 11:04:49 +0200
commit50a4d29a84d21c18bd9f652ed73a08a06ce21f8c (patch)
tree0daec9d6e8dd9337b91a01c4f0ecfcbcb6556b77 /test
parent4df70d8951e92c1ecc9ebc7eb5347894d8ddc7d5 (diff)
downloadmullvadvpn-50a4d29a84d21c18bd9f652ed73a08a06ce21f8c.tar.xz
mullvadvpn-50a4d29a84d21c18bd9f652ed73a08a06ce21f8c.zip
Clarify valid arguments for `--curent-app` and `--previous-app`
Diffstat (limited to 'test')
-rw-r--r--test/test-manager/src/main.rs13
1 files changed, 11 insertions, 2 deletions
diff --git a/test/test-manager/src/main.rs b/test/test-manager/src/main.rs
index 078e91c7b3..90176fb4d8 100644
--- a/test/test-manager/src/main.rs
+++ b/test/test-manager/src/main.rs
@@ -79,7 +79,15 @@ enum Commands {
#[arg(long, short)]
account: String,
- /// App package to test.
+ /// App package to test. Can be a path to the package, just the package file name, git hash
+ /// or tag. If the direct path is not given, the package is assumed to be in the cache
+ /// directory for the host OS, given by the following table:
+ ///
+ /// |Platform | Value | Example |
+ /// | ------- | ----------------------------------- | ---------------------------- |
+ /// | Linux | `$XDG_CACHE_HOME` or `$HOME`/.cache | /home/alice/.cache |
+ /// | macOS | `$HOME`/Library/Caches | /Users/Alice/Library/Caches |
+ /// | Windows | `{FOLDERID_LocalAppData}` | C:\Users\Alice\AppData\Local |
///
/// # Note
///
@@ -88,7 +96,8 @@ enum Commands {
#[arg(long, short)]
current_app: String,
- /// App package to upgrade from.
+ /// App package to upgrade from when running `test_install_previous_app`, can be left empty
+ /// if this test is not ran. Parsed the same way as `--current-app`.
///
/// # Note
///