tests: update test to also accecpt '*' for root login

This commit is contained in:
Natanael Copa committed 2022-05-23 19:24:36 +02:00
1 parent 59b01af339
commit 9cb10581ea
1 file changed
+1 -1
+1 -1
View File
@@ -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" {