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
ac2961b8
...
ac2961b892ac58074ffe7478404c796d0db07117
authored
2002-08-07 23:00:51 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(default_mail_test): Ignore trailing whitespace
1 parent
8611d46b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
mail/testsuite/lib/mail.exp
mail/testsuite/lib/mail.exp
View file @
ac2961b
...
...
@@ -351,16 +351,31 @@ proc default_mail_test { args } {
set result 0
for
{
set
i 0
}
{
$i
<
[
llength
$pattern
]}
{
incr
i
}
{
verbose
"i=
$i
, pat=
[
lindex
${pattern}
$i
]
"
2
set pat
[
lindex
${pattern}
$i
]
regsub
"
\[
\t\]
*
$
"
[
lindex
${pattern}
$i
]
""
pat
verbose
"i=
$i
, pat=
$pat
"
2
mail_expect
$tmt
{
-ex
"
$pat
\r\n
"
{
-ex
"
$pat
"
{
if
{
$expect
_out
(
buffer
)
!=
$expect
_out
(
0,string
)
}
{
verbose
"Got
\"
$expect
_out(buffer)
\"
"
2
verbose
"instead of expected
\"
$pat
\\
r
\\
n
\"
"
2
set result 1
break
}
mail_expect
$tmt
{
-re
"
\[
\t
]*
\r\n
"
{
}
default
{
set result 1
break
}
timeout
{
set result -2
break
}
eof
{
set result -3
break
}
}
}
default
{
set result 1
...
...
Please
register
or
sign in
to post a comment