#!/usr/bin/env bats load test_helper @test "it finds a user without a password" { run ./bin/no-password test/fixtures/passwd_with_missing_password assert_success $'daemon::1:1:daemon:/tmp:/usr/bin/false' } @test "it does not find any users that are missing a password" { run ./bin/no-password test/fixtures/passwd_with_uid_zero assert_failure $'' }