From dce44ca210a4fea8879efa731d3691a34ebbe984 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 27 Jul 2020 16:22:41 +0300 Subject: Fix command logs UTF-8-sanitization --- bbot/worker/worker.cxx | 2 +- tests/integration/testscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx index e436fa1..81204bd 100644 --- a/bbot/worker/worker.cxx +++ b/bbot/worker/worker.cxx @@ -152,7 +152,7 @@ run_cmd (tracer& t, text << s; } - to_utf8 (s, '?'); + to_utf8 (s, '?', codepoint_types::graphic, U"\n\r\t"); log += s; log += '\n'; diff --git a/tests/integration/testscript b/tests/integration/testscript index 0d4eabf..1d7a013 100644 --- a/tests/integration/testscript +++ b/tests/integration/testscript @@ -49,7 +49,7 @@ wait = 1 # Seconds. controller = --fake-request ../task --dump-result pkg = libhello -ver = 1.0.0+5 +ver = 1.0.0+6 #rep_url = https://build2.org/pkg/1/hello/stable #rfp = FF:DF:7D:38:67:4E:C3:82:65:7E:EE:1F:D4:80:EC:56:C4:33:5B:65:3F:9B:29:9A:30:56:B9:77:B9:F2:01:94 rep_url = https://stage.build2.org/1 -- cgit v1.1