From 106f5fe00a6b09c22b01a5cbcefabd9ad182877d Mon Sep 17 00:00:00 2001 From: "Babak K. Shandiz" Date: Wed, 18 Mar 2026 02:06:52 +0000 Subject: [PATCH] test: fix container name sanitisation Signed-off-by: Babak K. Shandiz --- script/pgp-key-rotation-test | 1 + 1 file changed, 1 insertion(+) diff --git a/script/pgp-key-rotation-test b/script/pgp-key-rotation-test index 95b562fef..6f0437379 100755 --- a/script/pgp-key-rotation-test +++ b/script/pgp-key-rotation-test @@ -647,6 +647,7 @@ docker_teardown() { docker_client_setup() { image="$1" container_name="repo-client-${image//:/-}" + container_name="${container_name//\//-}" if [ "$(docker ps -a -q -f "name=^$container_name\$")" ]; then read -p "Do you want to teardown the existing container and recreate it? (y/n): " choice if [[ "$choice" == "y" || "$choice" == "Y" ]]; then