On Thu, Feb 24, 2022 at 12:53 AM Kees Cook keescook@chromium.org wrote:
Filling log files with color codes makes diffs and other comparisons difficult. Only emit vt100 codes when the stdout is a TTY.
Cc: Brendan Higgins brendanhiggins@google.com Cc: linux-kselftest@vger.kernel.org Cc: kunit-dev@googlegroups.com Signed-off-by: Kees Cook keescook@chromium.org
Reviewed-by: Brendan Higgins brendanhiggins@google.com