Skip to content

Commit 3220185

Browse files
committed
TEST/MINOR: set_uid: fix the set_uid test
1 parent 820e55d commit 3220185

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.aspell.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ allowed:
126126
- tooltip
127127
- tsconfig
128128
- ubuntu
129+
- uid
129130
- uniq
130131
- unix
131132
- unsub

e2e/tests/set_uid/test.bats

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ setup() {
2424
run dpa_docker_exec 'pkill -9 dataplaneapi'
2525
assert_success
2626

27-
run dpa_docker_exec 'adduser -u 1500 testuiduser'
28-
#assert_success ignore error since we do not plan to insert password, user will be created
27+
run dpa_docker_exec 'useradd -m -p test -s /bin/bash -u 1500 testuiduser'
28+
assert_success
2929

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

0 commit comments

Comments
 (0)