mail.bats 208 B

1234567
  1. #!/usr/bin/env -S bats
  2. @test "run mail inbox for each address" {
  3. run bash -c 'mail inbox -A | while IFS= read -r address; do [[ "$(mail inbox "$address")" == *EXISTS* ]]; done'
  4. [ "$status" -eq 0 ]
  5. }