Index: test/cctest/test-log.cc |
diff --git a/test/cctest/test-log.cc b/test/cctest/test-log.cc |
index 3983215a29685596df5b8ac9b7e4aca676cbf887..b1cb63c6326b45655f56ef24755e1873e147a73b 100644 |
--- a/test/cctest/test-log.cc |
+++ b/test/cctest/test-log.cc |
@@ -256,11 +256,10 @@ TEST(ProfLazyMode) { |
// No sampling should happen prior to resuming profiler. |
CHECK(!LoggerTestHelper::IsSamplerActive()); |
- // Read initial logged data (static libs map). |
EmbeddedVector<char, 102400> buffer; |
+ // Nothing must be logged until profiling is resumed. |
int log_pos = GetLogLines(0, &buffer); |
- CHECK_GT(log_pos, 0); |
- CHECK_GT(buffer.length(), log_pos); |
+ CHECK_EQ(0, log_pos); |
CompileAndRunScript("var a = (function(x) { return x + 1; })(10);"); |