Skip to content

Commit d1fcd34

Browse files
committed
Set TERM if not set
Signed-off-by: yubiuser <github@yubiuser.dev>
1 parent 7971c9b commit d1fcd34

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/run.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,5 @@ if command -v parallel > /dev/null 2>&1; then
5858
BATS_FLAGS+=("--jobs" "$(nproc)")
5959
fi
6060

61-
"$BATS" "${BATS_FLAGS[@]}" "${TEST_FILES[@]}"
61+
# Ensure that the TERM environment variable is set for colored CI output, defaulting to xterm if not set
62+
TERM=${TERM:-xterm} "$BATS" "${BATS_FLAGS[@]}" "${TEST_FILES[@]}"

0 commit comments

Comments
 (0)