diff options
author | Petri Latvala <petri.latvala@intel.com> | 2018-09-26 16:24:20 +0300 |
---|---|---|
committer | Petri Latvala <petri.latvala@intel.com> | 2018-09-27 12:27:09 +0300 |
commit | 38a633b50f0ee369570e1eadee724f62d59553b0 (patch) | |
tree | 46dbf642b37c00ff739d18dce997d5ce581e448c /lib | |
parent | 83352d08b52acd6ee677f9f62dd032b0b8d31835 (diff) |
runner: Avoid null characters in results.json
CI pipeline (namely, cibuglog) doesn't cope well with strings that
have \0 in them. If null characters appear in output files, pretend
the output stops at the first such character. Well behaving tests
should not print them anyway.
The case in CI happened due to some hang/crash/explosion/solar flare
that corrupted the output of a test.
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Cc: Tomi Sarvela <tomi.p.sarvela@intel.com>
Cc: Martin Peres <martin.peres@linux.intel.com>
Acked-by: Martin Peres <martin.peres@linux.intel.com>
Acked-by: Tomi Sarvela <tomi.p.sarvela@intel.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions