| Index: net/disk_cache/backend_unittest.cc
|
| ===================================================================
|
| --- net/disk_cache/backend_unittest.cc (revision 45878)
|
| +++ net/disk_cache/backend_unittest.cc (working copy)
|
| @@ -241,12 +241,10 @@
|
| MessageLoop::current()->RunAllPending();
|
| }
|
|
|
| -#if defined(OS_WIN) || defined(OS_MACOSX)
|
| -// This test fails on linux. TODO(rvargas): Find out why (bug 41563).
|
| TEST_F(DiskCacheTest, TruncatedIndex) {
|
| FilePath path = GetCacheFilePath();
|
| ASSERT_TRUE(DeleteCache(path));
|
| - FilePath index = path.AppendASCII("Index");
|
| + FilePath index = path.AppendASCII("index");
|
| ASSERT_EQ(5, file_util::WriteFile(index, "hello", 5));
|
| scoped_ptr<disk_cache::Backend> backend;
|
| backend.reset(disk_cache::BackendImpl::CreateBackend(path, false, 0,
|
| @@ -254,7 +252,6 @@
|
| disk_cache::kNone));
|
| ASSERT_TRUE(backend.get() == NULL);
|
| }
|
| -#endif
|
|
|
| void DiskCacheBackendTest::BackendSetSize() {
|
| SetDirectMode();
|
|
|