diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2016-03-09 12:07:15 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2016-03-10 17:47:13 +0100 |
| commit | 4b4dc9d1f30c996dc5eefbecbf91399939adbee5 (patch) | |
| tree | 77811450cd2727273961bbfc00bf780be8a3b90e /executor/executor.cc | |
| parent | f419fc90dd6b663ac04d1a46c8bf99e1437609dc (diff) | |
executor: ignore the case when test process kills loop process
This lead to lots of false positives.
Diffstat (limited to 'executor/executor.cc')
| -rw-r--r-- | executor/executor.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/executor/executor.cc b/executor/executor.cc index 4405548df..6c63b4667 100644 --- a/executor/executor.cc +++ b/executor/executor.cc @@ -59,6 +59,7 @@ const uint64_t arg_data = 2; const int kFailStatus = 67; const int kErrorStatus = 68; +const int kRetryStatus = 69; // We use the default value instead of results of failed syscalls. // -1 is an invalid fd and an invalid address and deterministic, @@ -976,7 +977,7 @@ void exitf(const char* msg, ...) vfprintf(stderr, msg, args); va_end(args); fprintf(stderr, " (errno %d)\n", e); - exit(1); + exit(kRetryStatus); } void debug(const char* msg, ...) |
