← Commit list

c12a1fdd0e

Daniel Stenberg
Daniel Stenberg
2025-11-05
SUCCESS Duration: 144s

Subject

tests: remove trailing spaces in server responses

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

tests/data/test1349+4 -4
@@ -49,10 +49,10 @@ mooo
# The final "221 bye bye baby" response to QUIT will not be recorded
# since that is not considered part of this particular transfer!
<file2 name="%LOGDIR/heads%TESTNUMBER" crlf="yes">
-220- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
-220- ___| | | | _ \| |%spc%%spc%%spc%%spc%
-220- / __| | | | |_) | |%spc%%spc%%spc%%spc%
-220- | (__| |_| | _ {| |___%spc%
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
220 \___|\___/|_| \_\_____|
331 We are happy you popped in!
230 Welcome you silly person
tests/data/test1350+4 -4
@@ -49,10 +49,10 @@ mooo
# The final "221 bye bye baby" response to QUIT will not be recorded
# since that is not considered part of this particular transfer!
<file2 name="%LOGDIR/stdout%TESTNUMBER" crlf="yes">
-220- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
-220- ___| | | | _ \| |%spc%%spc%%spc%%spc%
-220- / __| | | | |_) | |%spc%%spc%%spc%%spc%
-220- | (__| |_| | _ {| |___%spc%
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
220 \___|\___/|_| \_\_____|
331 We are happy you popped in!
230 Welcome you silly person
tests/data/test1351+4 -4
@@ -50,10 +50,10 @@ mooo
# The final "221 bye bye baby" response to QUIT will not be recorded
# since that is not considered part of this particular transfer!
<file2 name="%LOGDIR/heads%TESTNUMBER" crlf="yes">
-220- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
-220- ___| | | | _ \| |%spc%%spc%%spc%%spc%
-220- / __| | | | |_) | |%spc%%spc%%spc%%spc%
-220- | (__| |_| | _ {| |___%spc%
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
220 \___|\___/|_| \_\_____|
331 We are happy you popped in!
230 Welcome you silly person
tests/data/test1352+4 -4
@@ -50,10 +50,10 @@ mooo
# The final "221 bye bye baby" response to QUIT will not be recorded
# since that is not considered part of this particular transfer!
<file2 name="%LOGDIR/stdout%TESTNUMBER" crlf="yes">
-220- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
-220- ___| | | | _ \| |%spc%%spc%%spc%%spc%
-220- / __| | | | |_) | |%spc%%spc%%spc%%spc%
-220- | (__| |_| | _ {| |___%spc%
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
220 \___|\___/|_| \_\_____|
331 We are happy you popped in!
230 Welcome you silly person
tests/data/test1353+4 -4
@@ -49,10 +49,10 @@ mooo
# The final "221 bye bye baby" response to QUIT will not be recorded
# since that is not considered part of this particular transfer!
<file2 name="%LOGDIR/heads%TESTNUMBER" crlf="yes">
-220- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
-220- ___| | | | _ \| |%spc%%spc%%spc%%spc%
-220- / __| | | | |_) | |%spc%%spc%%spc%%spc%
-220- | (__| |_| | _ {| |___%spc%
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
220 \___|\___/|_| \_\_____|
331 We are happy you popped in!
230 Welcome you silly person
tests/data/test1354+4 -4
@@ -47,10 +47,10 @@ mooo
</file1>
<file2 name="%LOGDIR/stdout%TESTNUMBER" crlf="yes">
-220- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
-220- ___| | | | _ \| |%spc%%spc%%spc%%spc%
-220- / __| | | | |_) | |%spc%%spc%%spc%%spc%
-220- | (__| |_| | _ {| |___%spc%
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
220 \___|\___/|_| \_\_____|
331 We are happy you popped in!
230 Welcome you silly person
tests/data/test1357+4 -4
@@ -62,10 +62,10 @@ MOOOO
</file1>
<file2 name="%LOGDIR/heads%TESTNUMBER" crlf="yes">
-220- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
-220- ___| | | | _ \| |%spc%%spc%%spc%%spc%
-220- / __| | | | |_) | |%spc%%spc%%spc%%spc%
-220- | (__| |_| | _ {| |___%spc%
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
220 \___|\___/|_| \_\_____|
331 We are happy you popped in!
230 Welcome you silly person
tests/data/test1358+4 -4
@@ -62,10 +62,10 @@ MOOOO
</file1>
<file2 name="%LOGDIR/stdout%TESTNUMBER" crlf="yes">
-220- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
-220- ___| | | | _ \| |%spc%%spc%%spc%%spc%
-220- / __| | | | |_) | |%spc%%spc%%spc%%spc%
-220- | (__| |_| | _ {| |___%spc%
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
220 \___|\___/|_| \_\_____|
331 We are happy you popped in!
230 Welcome you silly person
tests/data/test1359+4 -4
@@ -63,10 +63,10 @@ MOOOO
</file1>
<file2 name="%LOGDIR/heads%TESTNUMBER" crlf="yes">
-220- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
-220- ___| | | | _ \| |%spc%%spc%%spc%%spc%
-220- / __| | | | |_) | |%spc%%spc%%spc%%spc%
-220- | (__| |_| | _ {| |___%spc%
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
220 \___|\___/|_| \_\_____|
331 We are happy you popped in!
230 Welcome you silly person
tests/data/test1360+4 -4
@@ -63,10 +63,10 @@ MOOOO
</file1>
<file2 name="%LOGDIR/stdout%TESTNUMBER" crlf="yes">
-220- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
-220- ___| | | | _ \| |%spc%%spc%%spc%%spc%
-220- / __| | | | |_) | |%spc%%spc%%spc%%spc%
-220- | (__| |_| | _ {| |___%spc%
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
220 \___|\___/|_| \_\_____|
331 We are happy you popped in!
230 Welcome you silly person
tests/data/test1361+4 -4
@@ -62,10 +62,10 @@ MOOOO
</file1>
<file2 name="%LOGDIR/heads%TESTNUMBER" crlf="yes">
-220- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
-220- ___| | | | _ \| |%spc%%spc%%spc%%spc%
-220- / __| | | | |_) | |%spc%%spc%%spc%%spc%
-220- | (__| |_| | _ {| |___%spc%
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
220 \___|\___/|_| \_\_____|
331 We are happy you popped in!
230 Welcome you silly person
tests/data/test1362+4 -4
@@ -62,10 +62,10 @@ MOOOO
</file1>
<file2 name="%LOGDIR/stdout%TESTNUMBER" crlf="yes">
-220- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
-220- ___| | | | _ \| |%spc%%spc%%spc%%spc%
-220- / __| | | | |_) | |%spc%%spc%%spc%%spc%
-220- | (__| |_| | _ {| |___%spc%
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
220 \___|\___/|_| \_\_____|
331 We are happy you popped in!
230 Welcome you silly person
tests/data/test1379+4 -4
@@ -47,10 +47,10 @@ mooo
</file1>
<file2 name="%LOGDIR/heads%TESTNUMBER" crlf="yes">
-220- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
-220- ___| | | | _ \| |%spc%%spc%%spc%%spc%
-220- / __| | | | |_) | |%spc%%spc%%spc%%spc%
-220- | (__| |_| | _ {| |___%spc%
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
220 \___|\___/|_| \_\_____|
331 We are happy you popped in!
230 Welcome you silly person
tests/data/test1380+4 -4
@@ -47,10 +47,10 @@ mooo
</file1>
<file2 name="%LOGDIR/stdout%TESTNUMBER" crlf="yes">
-220- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
-220- ___| | | | _ \| |%spc%%spc%%spc%%spc%
-220- / __| | | | |_) | |%spc%%spc%%spc%%spc%
-220- | (__| |_| | _ {| |___%spc%
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
220 \___|\___/|_| \_\_____|
331 We are happy you popped in!
230 Welcome you silly person
tests/data/test1381+4 -4
@@ -48,10 +48,10 @@ mooo
</file1>
<file2 name="%LOGDIR/heads%TESTNUMBER" crlf="yes">
-220- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
-220- ___| | | | _ \| |%spc%%spc%%spc%%spc%
-220- / __| | | | |_) | |%spc%%spc%%spc%%spc%
-220- | (__| |_| | _ {| |___%spc%
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
220 \___|\___/|_| \_\_____|
331 We are happy you popped in!
230 Welcome you silly person
tests/data/test1382+4 -4
@@ -48,10 +48,10 @@ mooo
</file1>
<file2 name="%LOGDIR/stdout%TESTNUMBER" crlf="yes">
-220- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
-220- ___| | | | _ \| |%spc%%spc%%spc%%spc%
-220- / __| | | | |_) | |%spc%%spc%%spc%%spc%
-220- | (__| |_| | _ {| |___%spc%
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
220 \___|\___/|_| \_\_____|
331 We are happy you popped in!
230 Welcome you silly person
tests/data/test1383+4 -4
@@ -47,10 +47,10 @@ mooo
</file1>
<file2 name="%LOGDIR/heads%TESTNUMBER" crlf="yes">
-220- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
-220- ___| | | | _ \| |%spc%%spc%%spc%%spc%
-220- / __| | | | |_) | |%spc%%spc%%spc%%spc%
-220- | (__| |_| | _ {| |___%spc%
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
220 \___|\___/|_| \_\_____|
331 We are happy you popped in!
230 Welcome you silly person
tests/data/test1384+4 -4
@@ -47,10 +47,10 @@ mooo
</file1>
<file2 name="%LOGDIR/stdout%TESTNUMBER" crlf="yes">
-220- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
-220- ___| | | | _ \| |%spc%%spc%%spc%%spc%
-220- / __| | | | |_) | |%spc%%spc%%spc%%spc%
-220- | (__| |_| | _ {| |___%spc%
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
220 \___|\___/|_| \_\_____|
331 We are happy you popped in!
230 Welcome you silly person
tests/data/test1387+4 -4
@@ -62,10 +62,10 @@ MOOOO
</file1>
<file2 name="%LOGDIR/heads%TESTNUMBER" crlf="yes">
-220- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
-220- ___| | | | _ \| |%spc%%spc%%spc%%spc%
-220- / __| | | | |_) | |%spc%%spc%%spc%%spc%
-220- | (__| |_| | _ {| |___%spc%
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
220 \___|\___/|_| \_\_____|
331 We are happy you popped in!
230 Welcome you silly person
tests/data/test1388+4 -4
@@ -62,10 +62,10 @@ MOOOO
</file1>
<file2 name="%LOGDIR/stdout%TESTNUMBER" crlf="yes">
-220- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
-220- ___| | | | _ \| |%spc%%spc%%spc%%spc%
-220- / __| | | | |_) | |%spc%%spc%%spc%%spc%
-220- | (__| |_| | _ {| |___%spc%
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
220 \___|\___/|_| \_\_____|
331 We are happy you popped in!
230 Welcome you silly person
tests/data/test1389+4 -4
@@ -63,10 +63,10 @@ MOOOO
</file1>
<file2 name="%LOGDIR/heads%TESTNUMBER" crlf="yes">
-220- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
-220- ___| | | | _ \| |%spc%%spc%%spc%%spc%
-220- / __| | | | |_) | |%spc%%spc%%spc%%spc%
-220- | (__| |_| | _ {| |___%spc%
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
220 \___|\___/|_| \_\_____|
331 We are happy you popped in!
230 Welcome you silly person
tests/data/test1390+4 -4
@@ -63,10 +63,10 @@ MOOOO
</file1>
<file2 name="%LOGDIR/stdout%TESTNUMBER" crlf="yes">
-220- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
-220- ___| | | | _ \| |%spc%%spc%%spc%%spc%
-220- / __| | | | |_) | |%spc%%spc%%spc%%spc%
-220- | (__| |_| | _ {| |___%spc%
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
220 \___|\___/|_| \_\_____|
331 We are happy you popped in!
230 Welcome you silly person
tests/data/test1391+4 -4
@@ -62,10 +62,10 @@ MOOOO
</file1>
<file2 name="%LOGDIR/heads%TESTNUMBER" crlf="yes">
-220- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
-220- ___| | | | _ \| |%spc%%spc%%spc%%spc%
-220- / __| | | | |_) | |%spc%%spc%%spc%%spc%
-220- | (__| |_| | _ {| |___%spc%
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
220 \___|\___/|_| \_\_____|
331 We are happy you popped in!
230 Welcome you silly person
tests/data/test1392+4 -4
@@ -62,10 +62,10 @@ MOOOO
</file1>
<file2 name="%LOGDIR/stdout%TESTNUMBER" crlf="yes">
-220- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
-220- ___| | | | _ \| |%spc%%spc%%spc%%spc%
-220- / __| | | | |_) | |%spc%%spc%%spc%%spc%
-220- | (__| |_| | _ {| |___%spc%
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
220 \___|\___/|_| \_\_____|
331 We are happy you popped in!
230 Welcome you silly person
tests/data/test897+4 -4
@@ -46,10 +46,10 @@ A004 FETCH 123 BODY[1]
A005 LOGOUT
</protocol>
<file name="%LOGDIR/head-%TESTNUMBER" crlf="yes">
- _ _ ____ _%spc%%spc%%spc%%spc%%spc%
- ___| | | | _ \| |%spc%%spc%%spc%%spc%
- / __| | | | |_) | |%spc%%spc%%spc%%spc%
- | (__| |_| | _ {| |___%spc%
+ _ _ ____ _
+ ___| | | | _ \| |
+ / __| | | | |_) | |
+ | (__| |_| | _ {| |___
\___|\___/|_| \_\_____|
* OK curl IMAP server ready to serve
A001 BAD Command
tests/ftpserver.pl+16 -16
@@ -573,10 +573,10 @@ sub protocolsetup {
'PBSZ' => '500 PBSZ not implemented',
'PROT' => '500 PROT not implemented',
'welcome' => join("",
- '220- _ _ ____ _ '."\r\n",
- '220- ___| | | | _ \| | '."\r\n",
- '220- / __| | | | |_) | | '."\r\n",
- '220- | (__| |_| | _ {| |___ '."\r\n",
+ '220- _ _ ____ _'."\r\n",
+ '220- ___| | | | _ \| |'."\r\n",
+ '220- / __| | | | |_) | |'."\r\n",
+ '220- | (__| |_| | _ {| |___'."\r\n",
'220 \___|\___/|_| \_\_____|'."\r\n")
);
}
@@ -599,10 +599,10 @@ sub protocolsetup {
);
%displaytext = (
'welcome' => join("",
- ' _ _ ____ _ '."\r\n",
- ' ___| | | | _ \| | '."\r\n",
- ' / __| | | | |_) | | '."\r\n",
- ' | (__| |_| | _ {| |___ '."\r\n",
+ ' _ _ ____ _'."\r\n",
+ ' ___| | | | _ \| |'."\r\n",
+ ' / __| | | | |_) | |'."\r\n",
+ ' | (__| |_| | _ {| |___'."\r\n",
' \___|\___/|_| \_\_____|'."\r\n",
'+OK curl POP3 server ready to serve '."\r\n")
);
@@ -634,10 +634,10 @@ sub protocolsetup {
);
%displaytext = (
'welcome' => join("",
- ' _ _ ____ _ '."\r\n",
- ' ___| | | | _ \| | '."\r\n",
- ' / __| | | | |_) | | '."\r\n",
- ' | (__| |_| | _ {| |___ '."\r\n",
+ ' _ _ ____ _'."\r\n",
+ ' ___| | | | _ \| |'."\r\n",
+ ' / __| | | | |_) | |'."\r\n",
+ ' | (__| |_| | _ {| |___'."\r\n",
' \___|\___/|_| \_\_____|'."\r\n",
'* OK curl IMAP server ready to serve'."\r\n")
);
@@ -658,10 +658,10 @@ sub protocolsetup {
);
%displaytext = (
'welcome' => join("",
- '220- _ _ ____ _ '."\r\n",
- '220- ___| | | | _ \| | '."\r\n",
- '220- / __| | | | |_) | | '."\r\n",
- '220- | (__| |_| | _ {| |___ '."\r\n",
+ '220- _ _ ____ _'."\r\n",
+ '220- ___| | | | _ \| |'."\r\n",
+ '220- / __| | | | |_) | |'."\r\n",
+ '220- | (__| |_| | _ {| |___'."\r\n",
'220 \___|\___/|_| \_\_____|'."\r\n")
);
}