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
92491e13
...
92491e13cc83dc802b06b509fd0ec54e3fdcc9eb
authored
2002-11-03 13:03:09 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Minor fixes
1 parent
a6265e25
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
testsuite/lib/mailutils.exp
testsuite/lib/mailutils.exp
View file @
92491e1
...
...
@@ -620,11 +620,14 @@ proc mu_test_file {args} {
for
{
set
i 0
}
{
$i
<
[
llength
$args
]}
{
incr
i
}
{
set a
[
lindex
$args
$i
]
if
{
"
$a
"
==
"-default"
}
{
set default
[
lindex
$args
[
expr
$i
+ 1
]]
incr i
set default
[
lindex
$args
$i
]
}
else
if
{
"
$a
"
==
"-pattern"
}
{
incr i
set pattern
[
lindex
$args
$i
]
}
else
if
{
"
$a
"
==
"-message"
}
{
set message
[
lindex
$args
[
expr
$i
+ 1
]]
incr i
set message
[
lindex
$args
$i
]
}
else
{
set args
[
lrange
$args
$i
end
]
break
...
...
@@ -640,7 +643,9 @@ proc mu_test_file {args} {
}
set filename
[
lindex
$args
0
]
if !
[
info
exists pattern
]
{
set pattern
[
lrange
$args
1 end
]
}
set res
[
remote_spawn host
"/bin/cat
$filename
"
]
if
{
$res
< 0 ||
$res
==
""
}
{
...
...
Please
register
or
sign in
to post a comment