diff --git a/test/system/195-run-namespaces.bats b/test/system/195-run-namespaces.bats index 230669d15b..fadcbb60dd 100644 --- a/test/system/195-run-namespaces.bats +++ b/test/system/195-run-namespaces.bats @@ -41,7 +41,7 @@ uts | uts if [[ "$option" = "pid" ]] && is_rootless && ! is_remote && [[ "$(podman_runtime)" = "runc" ]]; then # Replace "pid:[1234567]" with "pid:\[1234567\]" con1_ns_esc="${con1_ns//[\[\]]/\\&}" - assert "$con2_ns" =~ "${con1_ns_esc}.*warning .*" "($name) namespace matches (type: $type)" + assert "$con2_ns" =~ "${con1_ns_esc}" "($name) namespace matches (type: $type)" else assert "$con1_ns" == "$con2_ns" "($name) namespace matches (type: $type)" fi