From a365d72585dfd70d61ab83b1e58886809e113253 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Thu, 10 Dec 2020 20:38:13 +0300 Subject: [PATCH] Show non-printable chars in failed tests --- tests/run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run-tests.sh b/tests/run-tests.sh index 33db760..ea76fcf 100644 --- a/tests/run-tests.sh +++ b/tests/run-tests.sh @@ -88,7 +88,7 @@ while read -r number test_line; do if ! diff -u3 results/"$number" "$TMP" > "$TMP2"; then if [[ $update_tests_results = NO ]]; then if [ "$show_details" = YES ]; then - cat "$TMP2" + cat -t "$TMP2" fi echo "FAILED: [$number] $test_line" else