#!/usr/bin/env bats load test_helper @test "it finds users with duplicate login names" { run ./bin/duplicate-login-names test/fixtures/passwd_with_duplicate_login_names assert_failure $'root' } @test "it does not find any duplicate login names" { run ./bin/duplicate-login-names test/fixtures/passwd assert_success }