diff --git a/test/system/030-run.bats b/test/system/030-run.bats index 60f39f168d..59163cb66a 100644 --- a/test/system/030-run.bats +++ b/test/system/030-run.bats @@ -891,7 +891,7 @@ EOF # bats test_tags=ci:parallel @test "podman run --hostuser tests" { - skip_if_not_rootless "test whether hostuser is successfully added" + skip_if_not_rootless "--hostuser is only meaningful when rootless" user=$(id -un) run_podman 1 run --rm $IMAGE grep $user /etc/passwd run_podman run --hostuser=$user --rm $IMAGE grep $user /etc/passwd