From f419fc90dd6b663ac04d1a46c8bf99e1437609dc Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 1 Mar 2016 14:56:26 +0100 Subject: executor: make loop killing non-fatal --- executor/executor.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'executor') diff --git a/executor/executor.cc b/executor/executor.cc index 5136008c5..4405548df 100644 --- a/executor/executor.cc +++ b/executor/executor.cc @@ -202,7 +202,10 @@ int main(int argc, char** argv) fail("loop failed"); if (status == kErrorStatus) error("loop errored"); - fail("loop exited with status %d", status); + // Loop can be killed by a test process with e.g.: + // ptrace(PTRACE_SEIZE, 1, 0, 0x100040) + // This is unfortunate, but I don't have a better solution than ignoring it for now. + exitf("loop exited with status %d", status); return 0; } -- cgit mrf-deployment