diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-24 10:35:27 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-24 10:35:27 +0000 |
commit | b7394ff0fd9dc89187d40860e7e86386c373c9ab (patch) | |
tree | 3a3b37db268e304d9f867952486a07ce673c778a /net/data | |
parent | 8ba4973cfcfe2a6b8c0cacca76fabe8b66d41646 (diff) | |
download | chromium_src-b7394ff0fd9dc89187d40860e7e86386c373c9ab.zip chromium_src-b7394ff0fd9dc89187d40860e7e86386c373c9ab.tar.gz chromium_src-b7394ff0fd9dc89187d40860e7e86386c373c9ab.tar.bz2 |
Fix the "ls -l" style date parser to correctly guess the year if it is not provided.
Also provide an infrastructure to mock the current time in the tests.
BUG=36293
TEST=net_unittests
Review URL: http://codereview.chromium.org/1120012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42447 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/data')
-rw-r--r-- | net/data/ftp/dir-listing-ls-1-utf8.expected | 4 | ||||
-rw-r--r-- | net/data/ftp/dir-listing-ls-1.expected | 4 | ||||
-rw-r--r-- | net/data/ftp/dir-listing-ls-10.expected | 2 | ||||
-rw-r--r-- | net/data/ftp/dir-listing-ls-12.expected | 2 | ||||
-rw-r--r-- | net/data/ftp/dir-listing-ls-13.expected | 2 | ||||
-rw-r--r-- | net/data/ftp/dir-listing-ls-15.expected | 4 | ||||
-rw-r--r-- | net/data/ftp/dir-listing-ls-16.expected | 4 | ||||
-rw-r--r-- | net/data/ftp/dir-listing-ls-7.expected | 2 | ||||
-rw-r--r-- | net/data/ftp/dir-listing-ls-9.expected | 4 | ||||
-rw-r--r-- | net/data/ftp/dir-listing-netware-2.expected | 4 |
10 files changed, 16 insertions, 16 deletions
diff --git a/net/data/ftp/dir-listing-ls-1-utf8.expected b/net/data/ftp/dir-listing-ls-1-utf8.expected index bdb02ba..8e4508f 100644 --- a/net/data/ftp/dir-listing-ls-1-utf8.expected +++ b/net/data/ftp/dir-listing-ls-1-utf8.expected @@ -1,7 +1,7 @@ d . -1 -current +1994 5 15 18 @@ -10,7 +10,7 @@ current d .. -1 -current +1994 5 15 18 diff --git a/net/data/ftp/dir-listing-ls-1.expected b/net/data/ftp/dir-listing-ls-1.expected index 6e78dc2..4037590 100644 --- a/net/data/ftp/dir-listing-ls-1.expected +++ b/net/data/ftp/dir-listing-ls-1.expected @@ -1,7 +1,7 @@ d . -1 -current +1994 5 15 18 @@ -10,7 +10,7 @@ current d .. -1 -current +1994 5 15 18 diff --git a/net/data/ftp/dir-listing-ls-10.expected b/net/data/ftp/dir-listing-ls-10.expected index bbc4cd3..6e63cd0 100644 --- a/net/data/ftp/dir-listing-ls-10.expected +++ b/net/data/ftp/dir-listing-ls-10.expected @@ -37,7 +37,7 @@ etc d lost+found -1 -current +1994 8 14 13 diff --git a/net/data/ftp/dir-listing-ls-12.expected b/net/data/ftp/dir-listing-ls-12.expected index 761f7f4..c2f3232 100644 --- a/net/data/ftp/dir-listing-ls-12.expected +++ b/net/data/ftp/dir-listing-ls-12.expected @@ -37,7 +37,7 @@ msgs d pub -1 -current +1994 6 30 9 diff --git a/net/data/ftp/dir-listing-ls-13.expected b/net/data/ftp/dir-listing-ls-13.expected index 7bbf9ad..049f3bf 100644 --- a/net/data/ftp/dir-listing-ls-13.expected +++ b/net/data/ftp/dir-listing-ls-13.expected @@ -10,7 +10,7 @@ test.jpg d kernels -1 -current +1993 11 17 17 diff --git a/net/data/ftp/dir-listing-ls-15.expected b/net/data/ftp/dir-listing-ls-15.expected index fd064ad..c521d00 100644 --- a/net/data/ftp/dir-listing-ls-15.expected +++ b/net/data/ftp/dir-listing-ls-15.expected @@ -10,7 +10,7 @@ d incoming -1 -current +1993 12 8 15 @@ -28,7 +28,7 @@ incoming.README d pub -1 -current +1994 9 25 9 diff --git a/net/data/ftp/dir-listing-ls-16.expected b/net/data/ftp/dir-listing-ls-16.expected index 6a8fa74..90e39e6 100644 --- a/net/data/ftp/dir-listing-ls-16.expected +++ b/net/data/ftp/dir-listing-ls-16.expected @@ -37,7 +37,7 @@ Sueños_futbol d test -1 -current +1994 11 2 15 @@ -46,7 +46,7 @@ current d tmp -1 -current +1993 11 25 10 diff --git a/net/data/ftp/dir-listing-ls-7.expected b/net/data/ftp/dir-listing-ls-7.expected index 8f4cfe0..90c13511 100644 --- a/net/data/ftp/dir-listing-ls-7.expected +++ b/net/data/ftp/dir-listing-ls-7.expected @@ -10,7 +10,7 @@ d OCU -1 -current +1994 10 19 13 diff --git a/net/data/ftp/dir-listing-ls-9.expected b/net/data/ftp/dir-listing-ls-9.expected index 08bdb20..afc9791 100644 --- a/net/data/ftp/dir-listing-ls-9.expected +++ b/net/data/ftp/dir-listing-ls-9.expected @@ -1,7 +1,7 @@ - Akademia Teatralna spot.mpg 174680068 -current +1994 6 4 23 @@ -19,7 +19,7 @@ Foo - Instrukcja_Obsługi.pdf - Zdjecia.zip 23197684 -current +1994 6 9 13 diff --git a/net/data/ftp/dir-listing-netware-2.expected b/net/data/ftp/dir-listing-netware-2.expected index ea7423e..3c78ff0 100644 --- a/net/data/ftp/dir-listing-netware-2.expected +++ b/net/data/ftp/dir-listing-netware-2.expected @@ -10,7 +10,7 @@ rootcert.der d Driver -1 -current +1994 11 13 7 @@ -19,7 +19,7 @@ current d temp -1 -current +1993 11 16 15 |