Merge "logcat: test: rotated logs can exceed size during crash"

This commit is contained in:
Mark Salyzyn 2015-12-18 18:37:33 +00:00 committed by Gerrit Code Review
commit 55c636a29f

View file

@ -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);