/[mailutils]/mailutils/mail/testsuite/mail/write.exp
ViewVC logotype

Diff of /mailutils/mail/testsuite/mail/write.exp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by gray, Tue Aug 20 20:24:53 2002 UTC revision 1.4 by gray, Sun Aug 25 12:42:48 2002 UTC
# Line 43  mail_test -noprompt "quit" \ Line 43  mail_test -noprompt "quit" \
43  # Now check the mbox contents  # Now check the mbox contents
44  mail_start -reuse-spool "--file=%mbox"  mail_start -reuse-spool "--file=%mbox"
45  mail_test "headers" \  mail_test "headers" \
46          ">N   1 Sergey Poznyakoff  Sun Jul 16 12:11  12/429   MBOX"\          ">N   1 Sergey Poznyakoff  Sun Jul 16 12:11  12/425   MBOX"\
47          " U   2 Bar                Fri Dec 28 23:28  16/579   Re: Jabberwocky"          " U   2 Bar                Fri Dec 28 23:28  16/579   Re: Jabberwocky"
48    
49  # Save messages to the third mailbox  # Save messages to the third mailbox
50  mail_command "set folder=\"$MU_FOLDER_DIR\""  mail_command "set folder=\"$MU_FOLDER_DIR\""
51  mail_test "save 1 2 +three" \  mail_test "save 1 2 +three" \
52          "\"$MU_FOLDER_DIR/three\"  28/1008"          "\"$MU_FOLDER_DIR/three\"  28/1004"
53    
54  mail_test "headers" \  mail_test "headers" \
55          ">*   1 Sergey Poznyakoff  Sun Jul 16 12:11  12/429   MBOX"\          ">*   1 Sergey Poznyakoff  Sun Jul 16 12:11  12/425   MBOX"\
56          " *   2 Bar                Fri Dec 28 23:28  16/579   Re: Jabberwocky"          " *   2 Bar                Fri Dec 28 23:28  16/579   Re: Jabberwocky"
57    
58  mail_test -noprompt "quit" \  mail_test -noprompt "quit" \
# Line 61  mail_test -noprompt "quit" \ Line 61  mail_test -noprompt "quit" \
61  # Examine its contents  # Examine its contents
62  mail_start -reuse-spool "--file=$MU_FOLDER_DIR/three"  mail_start -reuse-spool "--file=$MU_FOLDER_DIR/three"
63  mail_test "headers" \  mail_test "headers" \
64          ">N   1 Sergey Poznyakoff  Sun Jul 16 12:11  12/429   MBOX"\          ">N   1 Sergey Poznyakoff  Sun Jul 16 12:11  12/425   MBOX"\
65          " U   2 Bar                Fri Dec 28 23:28  16/579   Re: Jabberwocky"          " U   2 Bar                Fri Dec 28 23:28  16/579   Re: Jabberwocky"
66    
67  # Test uppercase commands (Save and Copy)  # Test uppercase commands (Save and Copy)
68  mail_command "set outfolder=\"$MU_FOLDER_DIR\""  mail_command "set outfolder=\"$MU_FOLDER_DIR\""
69  mail_test "Save" \  mail_test "Save" \
70          "\"$MU_FOLDER_DIR/gray\"  12/429"          "\"$MU_FOLDER_DIR/gray\"  12/425"
71    
72  mail_test "file \"$MU_FOLDER_DIR/gray\"" \  mail_test "file \"$MU_FOLDER_DIR/gray\"" \
73          "Held 1 messages in $MU_FOLDER_DIR/three"          "Held 1 messages in $MU_FOLDER_DIR/three"
74    
75  mail_test "headers" \  mail_test "headers" \
76          ">N   1 Sergey Poznyakoff  Sun Jul 16 12:11  12/429   MBOX"          ">N   1 Sergey Poznyakoff  Sun Jul 16 12:11  12/425   MBOX"
77  mail_exit  mail_exit
78    
79  # Test write  # Test write

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26