Skip to content

Commit

Permalink
Fix tests for rootless triplet
Browse files Browse the repository at this point in the history
  • Loading branch information
benz0li committed Aug 11, 2024
1 parent e28910e commit 550a6ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/docker-stacks-foundation/test_user_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def test_rootless_triplet_home(container: TrackedContainer) -> None:
tty=True,
user="root",
environment=["NB_USER=root", "NB_UID=0", "NB_GID=0"],
command=["echo HOME=${HOME} && getent passwd root"],
command=["bash", "-c", "echo HOME=${HOME} && getent passwd root"],
)
assert "HOME=/home/root" in logs
assert "root:x:0:0:root:/home/root:/bin/bash" in logs
Expand Down

0 comments on commit 550a6ce

Please sign in to comment.