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
d3951e09
...
d3951e09b869920cac409a07273ac1d088fb5a34
authored
2002-11-29 09:36:01 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(mu_test_file): Fixed comment.
1 parent
68808311
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
testsuite/lib/mailutils.exp
testsuite/lib/mailutils.exp
View file @
d3951e0
...
...
@@ -683,7 +683,8 @@ proc mu_test_file {args} {
# [-file FILENAME
]
# [-input INPUT-LIST
]
# [-args ARGS
]
# [-pattern PATTERN-LIST
]
[
PATTERN...
]
# [-pattern PATTERN-LIST
]
# [ARGS...
]
# INPUT-LIST - List of input strings
# PATTERN - Sequence to expect in return.
# MESSAGE - [optional
]
message to output
...
...
@@ -733,13 +734,10 @@ proc mailer_test { args } {
}
}
if
{
$i
<
[
llength
$args
]}
{
lappend pattern
[
lrange
$args
$i
end
]
}
verbose
"Spawning
$
MU_TOOL
$
MU_TOOL_FLAGS
$invocation
"
1
set res
[
remote_spawn host
"
$
MU_TOOL
$
MU_TOOL_FLAGS
$invocation
"
]
if
{
$res
< 0 ||
$res
==
""
}
{
perror
"Spawning
$
MU_TOOL
$
MU_TOOL_FLAGS
$invocation
failed."
return 1
;
...
...
@@ -749,9 +747,8 @@ proc mailer_test { args } {
set message
[
lindex
$args
0
]
}
if
$verbose
>2
then
{
send_user
"Message is
\"
$message
\"\n
"
}
verbose
"Message is
\"
$message
\"
"
2
verbose
"Pattern is
$pattern
"
2
set result
""
verbose
"INPUT:
$input
"
1
...
...
Please
register
or
sign in
to post a comment