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
6b9f7ed9
...
6b9f7ed98b4bdb0a21c54aaf9eb5cfefc48cbc71
authored
2004-01-27 15:49:55 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(mail_remote_test):Added OPTION statement
1 parent
d4de53bb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
mail.remote/testsuite/lib/mail.remote.exp
mail.remote/testsuite/mail.remote/send.exp
mail.remote/testsuite/lib/mail.remote.exp
View file @
6b9f7ed
# -*- tcl -*-
# This file is part of Mailutils testsuite.
# Copyright (C
)
2002, Free Software Foundation
# Copyright (C
)
2002,
2004,
Free Software Foundation
#
# This program is free software
;
you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
mail.remote/testsuite/mail.remote/send.exp
View file @
6b9f7ed
...
...
@@ -28,11 +28,15 @@ for {gets $chan line} {![eof $chan]} {gets $chan line} {
verbose
"MAIL FROM
$from
"
1
verbose
"MAIL TO
$to
"
1
verbose
"INPUT
$input
"
1
verbose
"OPTIONS
$options
"
1
verbose
"PATTERN
$pattern
"
1
set args
""
if
{
$from
!=
""
}
{
append args
" --from
$from
"
}
if
{
$options
!=
""
}
{
append args
"
$options
"
}
if
{
$to
!=
""
}
{
append args
"
$to
"
}
...
...
@@ -44,6 +48,7 @@ for {gets $chan line} {![eof $chan]} {gets $chan line} {
regexp
"^MESSAGE (.*)"
$line
dummy message
set from
""
set to
""
set options
""
set input
[
list
]
set pattern
[
list
]
set state 1
...
...
@@ -54,6 +59,9 @@ for {gets $chan line} {![eof $chan]} {gets $chan line} {
"^TO"
{
regexp
"^TO (.*)"
$line
dummy to
}
"^OPTIONS"
{
regexp
"^OPTIONS (.*)"
$line
dummy options
}
"^BODY BEGIN"
{
set state 2
}
...
...
Please
register
or
sign in
to post a comment