integration: test user fancy home
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
This commit is contained in:
parent
fec7c126f9
commit
bfeb40d600
|
|
@ -20,8 +20,13 @@ RUN touch $HOME/hello
|
|||
# testuser1 with the default home created by useradd.
|
||||
|
||||
RUN groupadd testgroup && \
|
||||
useradd --create-home --gid testgroup testuser
|
||||
useradd --create-home --gid testgroup alice \
|
||||
useradd --create-home --home john --gid testgroup bob
|
||||
|
||||
USER testuser:testgroup
|
||||
USER alice:testgroup
|
||||
|
||||
RUN touch $HOME/hello
|
||||
|
||||
USER bob:testgroup
|
||||
|
||||
RUN touch $HOME/hello
|
||||
|
|
|
|||
Loading…
Reference in New Issue