Skip to content

Commit c1ad54f

Browse files
hack/bats: Allow specifying PODMAN_ROOTLESS_USER
Signed-off-by: Ricardo Branco <[email protected]>
1 parent 0a65e7c commit c1ad54f

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)