From e0f84e8b3a296c618844f75b4804f17dab91442b Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Thu, 30 Jul 2020 23:17:01 +0300 Subject: [PATCH] Pipe colored diffs --- 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 48ecce1..6b3e5ef 100644 --- a/tests/run-tests.sh +++ b/tests/run-tests.sh @@ -82,7 +82,7 @@ while read -r number test_line; do eval "curl -s $CHTSH_URL/$test_line" > "$TMP" fi - if ! diff -u3 results/"$number" "$TMP" > "$TMP2"; then + if ! diff -u3 --color=always results/"$number" "$TMP" > "$TMP2"; then if [ "$show_details" = YES ]; then cat "$TMP2" fi