Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
linostar committed Aug 2, 2024
1 parent 9955b02 commit 544ba40
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/spread/integration/adduser/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ summary: Integration tests for adduser

execute: |
rootfs="$(install-slices adduser_bins)"
chroot "${rootfs}"
mkdir -p "$rootfs/{bin,lib,lib64}"
cp /bin/bash "$rootfs/bin"
chroot "$rootfs"
test -f /etc/passwd
adduser --quiet --system testuser
Expand Down

0 comments on commit 544ba40

Please sign in to comment.