commit | 9736b9d59ab86bd9d7ab00fde866c27fa677f1da | [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:54:17 2018 +0100 |
tree | a799f844696c48888a96d96c43fac2585c76b85d | |
parent | 4b660eca1efe0561bf4e5080382fcc1367cfe5d7 [diff] [blame] |
all.sh --keep-going: work if TERM is unset
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 2ea31db..945d404 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh
@@ -328,7 +328,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')