Skip to content

Commit c55353f

Browse files
Merge pull request #25955 from ricardobranco777/podman_rootless_user
hack/bats: Allow specifying PODMAN_ROOTLESS_USER
2 parents 7e57bb1 + c1ad54f commit c55353f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ if [[ -z "$CONTAINERS_HELPER_BINARY_DIR" ]]; then
124124
fi
125125

126126
# Used in 120-load test to identify rootless destination for podman image scp
127-
export PODMAN_ROOTLESS_USER=$(id -un)
127+
export PODMAN_ROOTLESS_USER=${PODMAN_ROOTLESS_USER:-$(id -un)}
128128

129129
# Make sure to always check for leaks when running locally
130130
export PODMAN_BATS_LEAK_CHECK=1

0 commit comments

Comments
 (0)