Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
c19fe9bc
...
c19fe9bc4efa9a27adc3b1c3ceae7bee80b7a026
authored
2002-08-25 12:42:48 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Adjusted tests to the changes in mbox and mbox1
1 parent
e3f4f763
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
mail/testsuite/mail/write.exp
mail/testsuite/mail/write.exp
View file @
c19fe9b
...
...
@@ -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/42
9
MBOX"
\
">N 1 Sergey Poznyakoff Sun Jul 16 12:11 12/42
5
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/100
8
"
"
\"
$
MU_FOLDER_DIR/three
\"
28/100
4
"
mail_test
"headers"
\
">* 1 Sergey Poznyakoff Sun Jul 16 12:11 12/42
9
MBOX"
\
">* 1 Sergey Poznyakoff Sun Jul 16 12:11 12/42
5
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/42
9
MBOX"
\
">N 1 Sergey Poznyakoff Sun Jul 16 12:11 12/42
5
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/42
9
"
"
\"
$
MU_FOLDER_DIR/gray
\"
12/42
5
"
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/42
9
MBOX"
">N 1 Sergey Poznyakoff Sun Jul 16 12:11 12/42
5
MBOX"
mail_exit
# Test write
...
...
Please
register
or
sign in
to post a comment