From b8903ff0720d207661c6b879635496be15b1fb1b Mon Sep 17 00:00:00 2001
From: Tavian Barnes <tavianator@tavianator.com>
Date: Wed, 13 Jul 2022 15:21:58 -0400
Subject: tests: Set colors to the empty string for non-ttys

---
 tests/tests.sh | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/tests/tests.sh b/tests/tests.sh
index 6ffef56..96af49c 100755
--- a/tests/tests.sh
+++ b/tests/tests.sh
@@ -40,6 +40,15 @@ if [ -t 1 ]; then
     MAG=$'\033[01;35m'
     CYN=$'\033[01;36m'
     RST=$'\033[0m'
+else
+    BLD=
+    RED=
+    GRN=
+    YLW=
+    BLU=
+    MAG=
+    CYN=
+    RST=
 fi
 
 UNAME=$(uname)
-- 
cgit v1.2.3