|
@@ -1106,7 +1106,10 @@ func runTest(test *testCase, shimPath string, mallocNumToFail int64) error { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if len(extraStderr) > 0 || (!failed && len(stderr) > 0) { |
|
|
if len(extraStderr) > 0 || (!failed && len(stderr) > 0) { |
|
|
return fmt.Errorf("unexpected error output:\n%s\n%s", stderr, extraStderr) |
|
|
|
|
|
|
|
|
lines := strings.Split(stderr, "\n") |
|
|
|
|
|
if len(lines) != 2 || lines[1] != "" || !strings.Contains(lines[0], "The kernel entropy pool contains too few bits") { |
|
|
|
|
|
return fmt.Errorf("unexpected error output:\n%s\n%s", stderr, extraStderr) |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if *useValgrind && isValgrindError { |
|
|
if *useValgrind && isValgrindError { |
|
|