From 97700670626992bf231b67f551f8563f1b4d4f7d Mon Sep 17 00:00:00 2001 From: Richard Alpe Date: Thu, 3 Sep 2026 10:39:39 +0200 Subject: [PATCH] test/env: allow extra container runner args Add INFIX_RUNNER_ARGS which is passed last to docker/podman run. So callers can set something like "--name" or "--label" to keep a handle on the container. Signed-off-by: Richard Alpe --- test/env | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/env b/test/env index cf4e3cace..cae3240e5 100755 --- a/test/env +++ b/test/env @@ -67,6 +67,13 @@ usage: test/env [-cDhiKr] -f -q [...] topology. If the command is containerized, it will be launched in the host's network namespace + Environment: + + INFIX_RUNNER_ARGS + Extra arguments to the container runner (docker/podman). + For example "--name foo" or "--label key=val", to give the + caller a handle on the container. + EOF } @@ -248,6 +255,7 @@ if [ "$containerize" ]; then --tty \ $volumes \ $kvm \ + $INFIX_RUNNER_ARGS \ $INFIX_TEST \ "$0" -C "$@" else