aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ftpserver.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl
index e5c461a45..76b6f4bea 100755
--- a/tests/ftpserver.pl
+++ b/tests/ftpserver.pl
@@ -452,6 +452,9 @@ sub getreplydata {
loadtest("$srcdir/data/test$testno");
my @data = getpart("reply", "data$testpart");
+ if((!@data) && ($testpart ne "")) {
+ @data = getpart("reply", "data");
+ }
return @data;
}