#!/usr/bin/env bats load test_helper @test "it finds users with duplicate user ids" { run ./bin/duplicate-ids test/fixtures/passwd_with_duplicate_ids assert_failure $'1 bin\n1 daemon\n6 shutdown\n6 halt' } @test "it does not find any duplicate user ids" { run ./bin/duplicate-ids test/fixtures/passwd assert_success }