summaryrefslogtreecommitdiffstats
path: root/content/browser/download/download_file_unittest.cc
diff options
context:
space:
mode:
authorhusky@chromium.org <husky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-09 13:26:17 +0000
committerhusky@chromium.org <husky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-09 13:26:17 +0000
commit932b1cef90716613eb6f8e9f57634805c0f856e5 (patch)
treee84eb1782c661a0bd7c9aa3cf1026b87b7bdc4b8 /content/browser/download/download_file_unittest.cc
parent12a0ac102d0fabd5e01dd7195a1581b8bf95441e (diff)
downloadchromium_src-932b1cef90716613eb6f8e9f57634805c0f856e5.zip
chromium_src-932b1cef90716613eb6f8e9f57634805c0f856e5.tar.gz
chromium_src-932b1cef90716613eb6f8e9f57634805c0f856e5.tar.bz2
Disable crashing unit test on Linux.
Working on the bots, but failing locally. Possibly a KDE / Gnome difference, as it involves Gnome-specific code in PowerSaveBlocker. BUG=110886 Test=content_unittests Review URL: http://codereview.chromium.org/9325069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121230 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/download/download_file_unittest.cc')
-rw-r--r--content/browser/download/download_file_unittest.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/content/browser/download/download_file_unittest.cc b/content/browser/download/download_file_unittest.cc
index aa6e8e7..2708d76f 100644
--- a/content/browser/download/download_file_unittest.cc
+++ b/content/browser/download/download_file_unittest.cc
@@ -15,6 +15,13 @@
#include "net/base/net_errors.h"
#include "testing/gtest/include/gtest/gtest.h"
+#if defined(OS_LINUX)
+// http://crbug.com/110886 for Linux
+#define MAYBE_RenameFileFinal DISABLED_RenameFileFinal
+#else
+#define MAYBE_RenameFileFinal RenameFileFinal
+#endif
+
using content::BrowserThread;
using content::BrowserThreadImpl;
using content::DownloadFile;
@@ -132,7 +139,7 @@ const int DownloadFileTest::kDummyRequestId = 67;
// Rename the file before any data is downloaded, after some has, after it all
// has, and after it's closed.
-TEST_F(DownloadFileTest, RenameFileFinal) {
+TEST_F(DownloadFileTest, MAYBE_RenameFileFinal) {
CreateDownloadFile(&download_file_, 0, true);
ASSERT_EQ(net::OK, download_file_->Initialize());
FilePath initial_path(download_file_->FullPath());