diff --git a/t/test-lib.sh b/t/test-lib.sh
index 714de6e5753e200d8685ef244a428d099a3ae95d..603a8cd5e7c53569fea3dba66754b52ea1fad9ba 100644 (file)
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
# . ./test-lib.sh
[ "x$TERM" != "xdumb" ] &&
+ [ -t 1 ] &&
tput bold >/dev/null 2>&1 &&
tput setaf 1 >/dev/null 2>&1 &&
tput sgr0 >/dev/null 2>&1 &&