aboutsummaryrefslogtreecommitdiff
path: root/tests/ftpserver.pl
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2014-01-16 23:41:31 +0100
committerDan Fandrich <dan@coneharvesters.com>2014-01-17 00:32:02 +0100
commit821094ba728cb2778dd4ebad6ab1bb149504c73e (patch)
treeb53e086a1e1ef4568266b98481e0c70856660f65 /tests/ftpserver.pl
parent7e0c2c47abe9c452778a37bf5d1f2653ca1bf96f (diff)
Fixed some XML syntax issues in the test data
Also, make the ftp server return a canned response that doesn't cause XML verification problems. Although the test file format isn't technically XML, it's still handy to be able to use XML tools to verify and manipulate them.
Diffstat (limited to 'tests/ftpserver.pl')
-rwxr-xr-xtests/ftpserver.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl
index c97524425..f2b12ebc3 100755
--- a/tests/ftpserver.pl
+++ b/tests/ftpserver.pl
@@ -559,7 +559,7 @@ sub protocolsetup {
'220- _ _ ____ _ '."\r\n",
'220- ___| | | | _ \| | '."\r\n",
'220- / __| | | | |_) | | '."\r\n",
- '220- | (__| |_| | _ <| |___ '."\r\n",
+ '220- | (__| |_| | _ {| |___ '."\r\n",
'220 \___|\___/|_| \_\_____|'."\r\n")
);
}
@@ -585,7 +585,7 @@ sub protocolsetup {
' _ _ ____ _ '."\r\n",
' ___| | | | _ \| | '."\r\n",
' / __| | | | |_) | | '."\r\n",
- ' | (__| |_| | _ <| |___ '."\r\n",
+ ' | (__| |_| | _ {| |___ '."\r\n",
' \___|\___/|_| \_\_____|'."\r\n",
'+OK cURL POP3 server ready to serve '."\r\n")
);
@@ -619,7 +619,7 @@ sub protocolsetup {
' _ _ ____ _ '."\r\n",
' ___| | | | _ \| | '."\r\n",
' / __| | | | |_) | | '."\r\n",
- ' | (__| |_| | _ <| |___ '."\r\n",
+ ' | (__| |_| | _ {| |___ '."\r\n",
' \___|\___/|_| \_\_____|'."\r\n",
'* OK cURL IMAP server ready to serve'."\r\n")
);
@@ -643,7 +643,7 @@ sub protocolsetup {
'220- _ _ ____ _ '."\r\n",
'220- ___| | | | _ \| | '."\r\n",
'220- / __| | | | |_) | | '."\r\n",
- '220- | (__| |_| | _ <| |___ '."\r\n",
+ '220- | (__| |_| | _ {| |___ '."\r\n",
'220 \___|\___/|_| \_\_____|'."\r\n")
);
}