Skip to content

Commit f15c563

Browse files
committed
TEST/MINOR: Fix the set_uid e2e test to work both on Alpine and Debian
1 parent 8859948 commit f15c563

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.aspell.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ allowed:
208208
- txt
209209
- typings
210210
- ubuntu
211+
- uid
211212
- uniq
212213
- unix
213214
- unmarshalling

e2e/tests/set_uid/test.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ setup() {
2424
run dpa_docker_exec 'pkill -9 dataplaneapi'
2525
assert_success
2626

27-
run dpa_docker_exec 'useradd -m -p test -s /bin/bash -u 1500 testuiduser'
27+
run dpa_docker_exec 'adduser -u 1500 testuiduser || useradd -m -u 1500 testuiduser'
2828
assert_success
2929

3030
run docker cp "${BATS_TEST_DIRNAME}/dataplaneapi.yaml" "${DOCKER_CONTAINER_NAME}:/home/testuiduser/dataplaneapi.yaml"

0 commit comments

Comments
 (0)