commit | 92deeaa47f1148249c9bc106e1ca044ef7402813 | [log] [tgz] |
---|---|---|
author | Gilles Peskine <Gilles.Peskine@arm.com> | Tue Jan 02 21:54:17 2018 +0100 |
committer | Gilles Peskine <Gilles.Peskine@arm.com> | Tue Jan 02 21:59:21 2018 +0100 |
tree | b937467f35edb1574bde413d3c71fbe6a58ef67d | |
parent | 33df5b34f69da3673170343cc7a73808de0e7e9a [diff] [blame] |
all.sh --keep-going: work if TERM is unset
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 8a4881a..a263627 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh
@@ -284,7 +284,7 @@ start_red= end_color= if [ -t 1 ]; then - case "$TERM" in + case "${TERM:-}" in *color*|cygwin|linux|rxvt*|screen|[Eex]term*) start_red=$(printf '\033[31m') end_color=$(printf '\033[0m')