Code

gitweb: Add tests for overriding gitweb config with repo config
[git.git] / t / test-lib.sh
index 714de6e5753e200d8685ef244a428d099a3ae95d..603a8cd5e7c53569fea3dba66754b52ea1fad9ba 100644 (file)
@@ -60,6 +60,7 @@ esac
 # . ./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 &&