test: look for substring
so it also matches "uid=1000 gid=0(root) groups=0(root)"
@@ -92,7 +92,7 @@ function teardown() {
run crictl exec --sync "$ctr_id" id
echo "$output"
[ "$status" -eq 0 ]
- [ "$output" = "uid=1000 gid=0(root)" ]
+ [[ "$output" =~ "uid=1000 gid=0(root)" ]]
run crictl stopp "$pod_id"
echo "$output"
[ "$status" -eq 0 ]
