diff options
author | Petri Latvala <petri.latvala@intel.com> | 2018-11-13 13:22:51 +0200 |
---|---|---|
committer | Petri Latvala <petri.latvala@intel.com> | 2018-12-12 12:44:54 +0200 |
commit | f81cdf9d3a475b6135c0951d1c7169f226164baf (patch) | |
tree | 29932b94db2b03ad7b4ee402c550e95ac5464e8f /runner/json_tests_data/dmesg-escapes/starttime.txt | |
parent | 3b52e8a5809a4e860350c59476a456745cd9fee0 (diff) |
runner: Handle escaped characters from kmsg
Characters in kernel logs, when read from /dev/kmsg, are escaped as
\xNN if they are not between 32 and 127 of if they are "\". Decode
what we can when creating results.json.
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'runner/json_tests_data/dmesg-escapes/starttime.txt')
-rw-r--r-- | runner/json_tests_data/dmesg-escapes/starttime.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runner/json_tests_data/dmesg-escapes/starttime.txt b/runner/json_tests_data/dmesg-escapes/starttime.txt new file mode 100644 index 00000000..ae038f18 --- /dev/null +++ b/runner/json_tests_data/dmesg-escapes/starttime.txt @@ -0,0 +1 @@ +1539953735.111039 |