diff --git a/tests/common.bats b/tests/common.bats index 5541e1d..6a72b7b 100644 --- a/tests/common.bats +++ b/tests/common.bats @@ -52,7 +52,7 @@ setup() { @test "root login is disabled" { run docker run --rm alpine:$TAG awk -F: '$1=="root"{print $2}' /etc/shadow [ $status -eq 0 ] - [ "$output" = "!" ] + [ "$output" = "*" ] || [ "$output" = "!" ] } @test "/dev/null should be missing" {