#!/bin/sh

echo ==== external to internal, with extension
$VALGRIND ./mail_addr_crunch <<'EOF'
external
internal
+extension
foo@example.com, "foo bar"@example.com, foo+ext@example.com
EOF

echo ==== external to internal, without extension
$VALGRIND ./mail_addr_crunch <<'EOF'
external
internal

foo@example.com, "foo bar"@example.com, foo+ext@example.com
EOF

echo ==== external to external, with extension
$VALGRIND ./mail_addr_crunch <<'EOF'
external
external
+extension
foo@example.com, "foo bar"@example.com, foo+ext@example.com
EOF

echo ==== external to external, without extension
$VALGRIND ./mail_addr_crunch <<'EOF'
external
external

foo@example.com, "foo bar"@example.com, foo+ext@example.com
EOF

echo ==== internal to internal, with extension
$VALGRIND ./mail_addr_crunch <<'EOF'
internal
internal
+extension
foo@example.com
foo+ext@example.com
EOF

echo ==== internal to internal, without extension
$VALGRIND ./mail_addr_crunch <<'EOF'
internal
internal

foo@example.com
foo+ext@example.com
EOF
