X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-ftp-list-Unknown-hidden.px;fp=tests%2FTest-ftp-list-Unknown-hidden.px;h=c41757f4e90fa23e7e4e5ca93102fd43da6ccc3d;hp=0000000000000000000000000000000000000000;hb=c3835a425a2b441dd741c7edc1684310141fb385;hpb=8b2954e58a5599817ac9a5e02c144e95712f6927 diff --git a/tests/Test-ftp-list-Unknown-hidden.px b/tests/Test-ftp-list-Unknown-hidden.px new file mode 100644 index 00000000..c41757f4 --- /dev/null +++ b/tests/Test-ftp-list-Unknown-hidden.px @@ -0,0 +1,69 @@ +#!/usr/bin/env perl + +# 2013-10-17 Andrea Urbani (matfanjol) +# In this ftp test: +# - the response of SYST command is +# 215 Unknown ftp service +# - the response of "LIST -a" command contains +# all the files +# - the response of "LIST" command contains +# the normal files (hidden files are not present) +# wget should use "LIST -a", but also "LIST". +# After "LIST", wget will see more data is available +# on "LIST -a", so it should go back to "LIST -a". +# (See also Test-ftp-list-Unknown-a.px) + +use strict; +use warnings; + +use FTPTest; + + +############################################################################### + +my $normalfile = <