integration: test user fancy home

Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
This commit is contained in:
Yoan Blanc
2020-03-04 14:14:21 -08:00
committed by Tejal Desai
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