am bd0962c2: Merge "logcat: timed tests fail under load"

* commit 'bd0962c2d390d87d336f21d1862dcb01b84d1a82':
  logcat: timed tests fail under load
This commit is contained in:
Mark Salyzyn 2014-03-24 20:28:19 +00:00 committed by Android Git Automerger
commit ca3292bf71

View file

@ -343,7 +343,6 @@ TEST(logcat, blocking) {
signal(SIGALRM, caught_blocking);
alarm(2);
while (fgets(buffer, sizeof(buffer), fp)) {
alarm(2);
if (!strncmp(buffer, "DONE", 4)) {
break;
@ -413,7 +412,6 @@ TEST(logcat, blocking_tail) {
signal(SIGALRM, caught_blocking_tail);
alarm(2);
while (fgets(buffer, sizeof(buffer), fp)) {
alarm(2);
if (!strncmp(buffer, "DONE", 4)) {
break;
@ -484,7 +482,6 @@ TEST(logcat, blocking_clear) {
signal(SIGALRM, caught_blocking_clear);
alarm(2);
while (fgets(buffer, sizeof(buffer), fp)) {
alarm(2);
if (!strncmp(buffer, "clearLog: ", 10)) {
fprintf(stderr, "WARNING: Test lacks permission to run :-(\n");