From 4b4dc9d1f30c996dc5eefbecbf91399939adbee5 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 9 Mar 2016 12:07:15 +0100 Subject: executor: ignore the case when test process kills loop process This lead to lots of false positives. --- executor/executor.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'executor') 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, ...) -- cgit mrf-deployment