X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-ftp-list-UNIX-hidden.px;fp=tests%2FTest-ftp-list-UNIX-hidden.px;h=a99e9d2e0fe5df3f727442be28cb5a01e89c6fff;hp=0000000000000000000000000000000000000000;hb=c3835a425a2b441dd741c7edc1684310141fb385;hpb=8b2954e58a5599817ac9a5e02c144e95712f6927 diff --git a/tests/Test-ftp-list-UNIX-hidden.px b/tests/Test-ftp-list-UNIX-hidden.px new file mode 100644 index 00000000..a99e9d2e --- /dev/null +++ b/tests/Test-ftp-list-UNIX-hidden.px @@ -0,0 +1,65 @@ +#!/usr/bin/env perl + +# 2013-10-17 Andrea Urbani (matfanjol) +# In this ftp test: +# - 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 only "LIST -a" because it recognise +# the system as "UNIX Type: L8" and so it should see +# and download the hidden file too. + +use strict; +use warnings; + +use FTPTest; + + +############################################################################### + +my $normalfile = <