Skip to content

Commit 21ef783

Browse files
Merge branch 'add-ubuntu2604'
2 parents f5d477c + d57031f commit 21ef783

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/desktop-e2e.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
description: "Space-delimited list of targets to run tests on, e.g. `debian13 ubuntu2404`. \
1717
Available images:\n
1818
`debian11 debian12 debian13 \
19-
ubuntu2204 ubuntu2404 ubuntu2504 ubuntu2510 \
19+
ubuntu2204 ubuntu2404 ubuntu2504 ubuntu2510 ubuntu2604 \
2020
fedora41 fedora42 fedora43 fedora44 \
2121
windows10 windows11 \
2222
macos12 macos13 macos14 macos15 macos26`.\n
@@ -49,7 +49,7 @@ jobs:
4949
run: |
5050
# A list of VMs to run the tests on. These refer to the names defined
5151
# in $XDG_CONFIG_DIR/mullvad-test/config.json on the runner.
52-
all='["debian11","debian12","debian13","ubuntu2204","ubuntu2404","ubuntu2504","ubuntu2510","fedora41","fedora42","fedora43","fedora44"]'
52+
all='["debian11","debian12","debian13","ubuntu2204","ubuntu2404","ubuntu2504","ubuntu2510","ubuntu2604","fedora41","fedora42","fedora43","fedora44"]'
5353
default='["debian13","ubuntu2204","ubuntu2404","ubuntu2504","ubuntu2510","fedora42","fedora43"]'
5454
oses="${{ github.event.inputs.oses }}"
5555
echo "OSES: $oses"

test/scripts/ssh-setup.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,13 @@ EOF
113113
}
114114

115115
function create_test_user_linux {
116-
echo "Adding test user account"
117-
useradd -m "$UNPRIVILEGED_USER"
116+
# Only create user if it does not yet exist.
117+
if id -u "$UNPRIVILEGED_USER" &> /dev/null; then
118+
echo "User $UNPRIVILEGED_USER already exists"
119+
else
120+
echo "Adding test user account '$UNPRIVILEGED_USER'"
121+
useradd -m "$UNPRIVILEGED_USER"
122+
fi
118123
echo "$UNPRIVILEGED_USER:$UNPRIVILEGED_USER" | chpasswd
119124
}
120125

0 commit comments

Comments
 (0)