Commit c19fe9bc c19fe9bc4efa9a27adc3b1c3ceae7bee80b7a026 by Sergey Poznyakoff

Adjusted tests to the changes in mbox and mbox1

1 parent e3f4f763
......@@ -43,16 +43,16 @@ mail_test -noprompt "quit" \
# Now check the mbox contents
mail_start -reuse-spool "--file=%mbox"
mail_test "headers" \
">N 1 Sergey Poznyakoff Sun Jul 16 12:11 12/429 MBOX"\
">N 1 Sergey Poznyakoff Sun Jul 16 12:11 12/425 MBOX"\
" U 2 Bar Fri Dec 28 23:28 16/579 Re: Jabberwocky"
# Save messages to the third mailbox
mail_command "set folder=\"$MU_FOLDER_DIR\""
mail_test "save 1 2 +three" \
"\"$MU_FOLDER_DIR/three\" 28/1008"
"\"$MU_FOLDER_DIR/three\" 28/1004"
mail_test "headers" \
">* 1 Sergey Poznyakoff Sun Jul 16 12:11 12/429 MBOX"\
">* 1 Sergey Poznyakoff Sun Jul 16 12:11 12/425 MBOX"\
" * 2 Bar Fri Dec 28 23:28 16/579 Re: Jabberwocky"
mail_test -noprompt "quit" \
......@@ -61,19 +61,19 @@ mail_test -noprompt "quit" \
# Examine its contents
mail_start -reuse-spool "--file=$MU_FOLDER_DIR/three"
mail_test "headers" \
">N 1 Sergey Poznyakoff Sun Jul 16 12:11 12/429 MBOX"\
">N 1 Sergey Poznyakoff Sun Jul 16 12:11 12/425 MBOX"\
" U 2 Bar Fri Dec 28 23:28 16/579 Re: Jabberwocky"
# Test uppercase commands (Save and Copy)
mail_command "set outfolder=\"$MU_FOLDER_DIR\""
mail_test "Save" \
"\"$MU_FOLDER_DIR/gray\" 12/429"
"\"$MU_FOLDER_DIR/gray\" 12/425"
mail_test "file \"$MU_FOLDER_DIR/gray\"" \
"Held 1 messages in $MU_FOLDER_DIR/three"
mail_test "headers" \
">N 1 Sergey Poznyakoff Sun Jul 16 12:11 12/429 MBOX"
">N 1 Sergey Poznyakoff Sun Jul 16 12:11 12/425 MBOX"
mail_exit
# Test write
......