aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ftpserver.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl
index f366bf439..5bfe71cd0 100644
--- a/tests/ftpserver.pl
+++ b/tests/ftpserver.pl
@@ -282,7 +282,9 @@ sub RETR_command {
if($testno =~ /^verifiedserver$/) {
# this is the secret command that verifies that this actually is
# the curl test server
- print "150 Binary junk (10 bytes).\r\n";
+ my $response = "WE ROOLZ: $$\r\n";
+ my $len = length($response);
+ print "150 Binary junk ($len bytes).\r\n";
print SOCK "WE ROOLZ: $$\r\n";
close(SOCK);
print "226 File transfer complete\r\n";