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-30 10:22:48 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-30 10:22:48 +0000
commit2737a57f9361dfc4b3613a253aa677b40d16bb2e (patch)
tree5b7fa2ea080f6c4bdb028f87cb5df60f425fa339 /net/data
parent7e1951a20765d3f864e1acabb0a9ca05ee511fb6 (diff)
downloadchromium_src-2737a57f9361dfc4b3613a253aa677b40d16bb2e.zip
chromium_src-2737a57f9361dfc4b3613a253aa677b40d16bb2e.tar.gz
chromium_src-2737a57f9361dfc4b3613a253aa677b40d16bb2e.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@61052 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