mirror of
https://github.com/containers/podman.git
synced 2025-05-17 06:59:07 +08:00
hack/bats: Allow specifying PODMAN_ROOTLESS_USER
Signed-off-by: Ricardo Branco <rbranco@suse.de>
This commit is contained in:
@ -124,7 +124,7 @@ if [[ -z "$CONTAINERS_HELPER_BINARY_DIR" ]]; then
|
||||
fi
|
||||
|
||||
# Used in 120-load test to identify rootless destination for podman image scp
|
||||
export PODMAN_ROOTLESS_USER=$(id -un)
|
||||
export PODMAN_ROOTLESS_USER=${PODMAN_ROOTLESS_USER:-$(id -un)}
|
||||
|
||||
# Make sure to always check for leaks when running locally
|
||||
export PODMAN_BATS_LEAK_CHECK=1
|
||||
|
Reference in New Issue
Block a user