From 8beb0d3ad7b00f47e655f126d619bfaa59334b30 Mon Sep 17 00:00:00 2001 From: Mark Salyzyn Date: Tue, 15 Dec 2015 10:39:07 -0800 Subject: [PATCH] logcat: test: rotated logs can exceed size during crash Some crash messages can be as large as 4K, so allow the rotated logs to have a larger size. Change-Id: I20ef8d526ad2d5eca128d1f99f4ea2d2da426403 --- logcat/tests/logcat_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logcat/tests/logcat_test.cpp b/logcat/tests/logcat_test.cpp index 61b020ccc..4f517bb18 100644 --- a/logcat/tests/logcat_test.cpp +++ b/logcat/tests/logcat_test.cpp @@ -605,7 +605,7 @@ TEST(logcat, logrotate) { char c; if ((2 == sscanf(buffer, "%d log.tx%c", &num, &c)) && - (num <= 24)) { + (num <= 40)) { ++count; } else if (strncmp(buffer, total, sizeof(total) - 1)) { fprintf(stderr, "WARNING: Parse error: %s", buffer);