politely ask programs to not print ANSI codes by setting TERM to dumb
License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
Steven Allen committed
Dec 14, 2017 at 08:41 UTC
af21ae129dc6259f51c0a795b9c9e22124165124
1 file changed
+2
test/sharness/lib/test-lib.sh
+2
@@ -43,6 +43,8 @@ SHARNESS_LIB="lib/sharness/sharness.sh"
43
# Make sure the ipfs path is set, also set in test_init_ipfs but that
44
# is not always used.
45
export IPFS_PATH="$(pwd)/.ipfs"
46
+# Ask programs to please not print ANSI codes
47
+export TERM=dumb
48
49
TEST_OS="$(uname -s | tr '[a-z]' '[A-Z]')"
50