case, all non-numeric prefixing letters are cut off to figure out the test
number.
open(INPUT, ">>log/server$ftpdnum.input") ||
logmsg "failed to open log/server$ftpdnum.input\n";
- INPUT->autoflush(1);
print INPUT @_;
close(INPUT);
}
sub RETR_command {
- my $testno = $_[0];
+ my ($testno) = @_;
logmsg "RETR file \"$testno\"\n";
return 0;
}
+ $testno =~ s/^([^0-9]*)//;
+
loadtest("$srcdir/data/test$testno");
my @data = getpart("reply", "data");