]> diplodocus.org Git - nmh/blobdiff - test/format/test-mymbox
Replace GNUism with standard touch flag in test-scan-file.
[nmh] / test / format / test-mymbox
index 6185e38855965b508dac48decd1a4b668a92d5cd..ee5e7270f000085b02da01f8e4bff5a15a51ef25 100755 (executable)
@@ -53,9 +53,11 @@ run_test "echo \
          1 "Local-Mailbox with Alternate-Mailbox test"
 
 # check getmymbox, without match
          1 "Local-Mailbox with Alternate-Mailbox test"
 
 # check getmymbox, without match
+start_test "getmymbox, without match"
 run_test 'fmttest -message -format %(getmymbox{from}) first' ''
 
 # check getmyaddr, without match
 run_test 'fmttest -message -format %(getmymbox{from}) first' ''
 
 # check getmyaddr, without match
+start_test "getmyaddr, without match"
 run_test 'fmttest -message -format %(getmyaddr{from}) first' ''
 
 grep -v 'Alternate-Mailboxes: ' "$MH" > "$MH".new
 run_test 'fmttest -message -format %(getmyaddr{from}) first' ''
 
 grep -v 'Alternate-Mailboxes: ' "$MH" > "$MH".new
@@ -65,14 +67,17 @@ Alternate-Mailboxes: test1@example.com
 EOF
 
 # check getmymbox, with match
 EOF
 
 # check getmymbox, with match
+start_test "getmymbox, with match"
 run_test 'fmttest -message -format %(getmymbox{from}) first' \
          'Test1 <test1@example.com>'
 
 # check getmyaddr, with match
 run_test 'fmttest -message -format %(getmymbox{from}) first' \
          'Test1 <test1@example.com>'
 
 # check getmyaddr, with match
+start_test "getmyaddr, with match"
 run_test 'fmttest -message -format %(getmyaddr{from}) first' \
          'test1@example.com'
 
 # check getmymbox and getmyaddr, with match of other than first address in
 run_test 'fmttest -message -format %(getmyaddr{from}) first' \
          'test1@example.com'
 
 # check getmymbox and getmyaddr, with match of other than first address in
+start_test "getmymbox and getmyaddr, with match of other than first address in"
 #   component
 cat >`mhpath new` <<'EOF'
 From: Test11 <test11@example.com>
 #   component
 cat >`mhpath new` <<'EOF'
 From: Test11 <test11@example.com>
@@ -90,4 +95,5 @@ run_test 'fmttest -message -format %(getmymbox{cc}) last' \
 run_test 'fmttest -message -format %(getmyaddr{cc}) last' \
          'test1@example.com'
 
 run_test 'fmttest -message -format %(getmyaddr{cc}) last' \
          'test1@example.com'
 
+finish_test
 exit $failed
 exit $failed