From 2737a57f9361dfc4b3613a253aa677b40d16bb2e Mon Sep 17 00:00:00 2001 From: "phajdan.jr@chromium.org" Date: Thu, 30 Sep 2010 10:22:48 +0000 Subject: 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 --- net/data/ftp/dir-listing-hprc-1 | 2 ++ net/data/ftp/dir-listing-hprc-1.expected | 17 ++++++++++++++++ net/data/ftp/dir-listing-hprc-2 | 4 ++++ net/data/ftp/dir-listing-hprc-2.expected | 35 ++++++++++++++++++++++++++++++++ net/data/ftp/dir-listing-hprc-3 | 3 +++ net/data/ftp/dir-listing-hprc-3.expected | 26 ++++++++++++++++++++++++ 6 files changed, 87 insertions(+) create mode 100644 net/data/ftp/dir-listing-hprc-1 create mode 100644 net/data/ftp/dir-listing-hprc-1.expected create mode 100644 net/data/ftp/dir-listing-hprc-2 create mode 100644 net/data/ftp/dir-listing-hprc-2.expected create mode 100644 net/data/ftp/dir-listing-hprc-3 create mode 100644 net/data/ftp/dir-listing-hprc-3.expected (limited to 'net/data') 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 -- cgit v1.1