summaryrefslogtreecommitdiffstats
path: root/net/data
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-28 09:28:01 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-28 09:28:01 +0000
commite8b0d041d4227741077bffb8dbf36a070dd5120e (patch)
tree7a9ee4418e8dab31e806caf74413ce5bc119b62d /net/data
parentf6abe712e579bfdd741af4e2353596ca808afa1e (diff)
downloadchromium_src-e8b0d041d4227741077bffb8dbf36a070dd5120e.zip
chromium_src-e8b0d041d4227741077bffb8dbf36a070dd5120e.tar.gz
chromium_src-e8b0d041d4227741077bffb8dbf36a070dd5120e.tar.bz2
FTP: fix directory listing parser for ftp.usa.hp.com
BUG=56547 TEST=net_unittests Review URL: http://codereview.chromium.org/3448029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60765 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/data')
-rw-r--r--net/data/ftp/dir-listing-hprc-12
-rw-r--r--net/data/ftp/dir-listing-hprc-1.expected17
-rw-r--r--net/data/ftp/dir-listing-hprc-24
-rw-r--r--net/data/ftp/dir-listing-hprc-2.expected35
-rw-r--r--net/data/ftp/dir-listing-hprc-33
-rw-r--r--net/data/ftp/dir-listing-hprc-3.expected26
6 files changed, 87 insertions, 0 deletions
diff --git a/net/data/ftp/dir-listing-hprc-1 b/net/data/ftp/dir-listing-hprc-1
new file mode 100644
index 0000000..ee3504f
--- /dev/null
+++ b/net/data/ftp/dir-listing-hprc-1
@@ -0,0 +1,2 @@
+ .
+ ..
diff --git a/net/data/ftp/dir-listing-hprc-1.expected b/net/data/ftp/dir-listing-hprc-1.expected
new file mode 100644
index 0000000..6259526
--- /dev/null
+++ b/net/data/ftp/dir-listing-hprc-1.expected
@@ -0,0 +1,17 @@
+-
+.
+0
+1994
+11
+15
+12
+45
+
+-
+..
+0
+1994
+11
+15
+12
+45
diff --git a/net/data/ftp/dir-listing-hprc-2 b/net/data/ftp/dir-listing-hprc-2
new file mode 100644
index 0000000..31a8688
--- /dev/null
+++ b/net/data/ftp/dir-listing-hprc-2
@@ -0,0 +1,4 @@
+ .
+ ..
+ .welcome
+ readme
diff --git a/net/data/ftp/dir-listing-hprc-2.expected b/net/data/ftp/dir-listing-hprc-2.expected
new file mode 100644
index 0000000..e597b76
--- /dev/null
+++ b/net/data/ftp/dir-listing-hprc-2.expected
@@ -0,0 +1,35 @@
+-
+.
+0
+1994
+11
+15
+12
+45
+
+-
+..
+0
+1994
+11
+15
+12
+45
+
+-
+.welcome
+0
+1994
+11
+15
+12
+45
+
+-
+readme
+0
+1994
+11
+15
+12
+45
diff --git a/net/data/ftp/dir-listing-hprc-3 b/net/data/ftp/dir-listing-hprc-3
new file mode 100644
index 0000000..0e2f2d0
--- /dev/null
+++ b/net/data/ftp/dir-listing-hprc-3
@@ -0,0 +1,3 @@
+ .
+ ..
+ Multi Word File Name.txt
diff --git a/net/data/ftp/dir-listing-hprc-3.expected b/net/data/ftp/dir-listing-hprc-3.expected
new file mode 100644
index 0000000..a71cbd2
--- /dev/null
+++ b/net/data/ftp/dir-listing-hprc-3.expected
@@ -0,0 +1,26 @@
+-
+.
+0
+1994
+11
+15
+12
+45
+
+-
+..
+0
+1994
+11
+15
+12
+45
+
+-
+Multi Word File Name.txt
+0
+1994
+11
+15
+12
+45