Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(504)

Unified Diff: kernel_collector_test.cc

Issue 3436029: crash-reporter: Send OS version at time of crash and related improvements (Closed) Base URL: http://git.chromium.org/git/crash-reporter.git
Patch Set: respond to petkov review Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « kernel_collector.cc ('k') | user_collector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: kernel_collector_test.cc
diff --git a/kernel_collector_test.cc b/kernel_collector_test.cc
index 7188e2f154eded1a2dd3382699ba3094f79dd8cb..44a5ba0a7fe329906c62647092b48f22fce95395 100644
--- a/kernel_collector_test.cc
+++ b/kernel_collector_test.cc
@@ -95,21 +95,6 @@ TEST_F(KernelCollectorTest, ClearPreservedDump) {
ASSERT_EQ(KernelCollector::kClearingSequence, dump);
}
-TEST_F(KernelCollectorTest, GetKernelCrashPath) {
- FilePath root("/var/spool/crash");
- struct tm tm = {0};
- tm.tm_sec = 15;
- tm.tm_min = 50;
- tm.tm_hour = 13;
- tm.tm_mday = 23;
- tm.tm_mon = 4;
- tm.tm_year = 110;
- tm.tm_isdst = -1;
- FilePath path = collector_.GetKernelCrashPath(root, mktime(&tm));
- ASSERT_EQ("/var/spool/crash/kernel.20100523.135015.0.kcrash",
- path.value());
-}
-
TEST_F(KernelCollectorTest, CollectPreservedFileMissing) {
ASSERT_FALSE(collector_.Collect());
ASSERT_NE(logging_.log().find("Unable to read test/kcrash"),
« no previous file with comments | « kernel_collector.cc ('k') | user_collector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698