summaryrefslogtreecommitdiff
path: root/t/t4026-color.sh
diff options
context:
space:
mode:
authorEyal Soha <shawarmakarma@gmail.com>2020-01-21 16:56:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-02-11 19:17:31 (GMT)
commit1751b09a92e176b164a3c5527f0458d5b1154d00 (patch)
tree67687a31b2e11b3a7d1315179ebd50e9e5376d37 /t/t4026-color.sh
parent4a28eb0ae4fc666291a6a6f84a0605ccb9279278 (diff)
downloadgit-1751b09a92e176b164a3c5527f0458d5b1154d00.zip
git-1751b09a92e176b164a3c5527f0458d5b1154d00.tar.gz
git-1751b09a92e176b164a3c5527f0458d5b1154d00.tar.bz2
color.c: support bright aixterm colors
These colors are the bright variants of the 3-bit colors. Instead of 30-37 range for the foreground and 40-47 range for the background, they live in 90-97 and 100-107 range, respectively. Signed-off-by: Eyal Soha <shawarmakarma@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4026-color.sh')
-rwxr-xr-xt/t4026-color.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/t/t4026-color.sh b/t/t4026-color.sh
index 671e951..78c69de 100755
--- a/t/t4026-color.sh
+++ b/t/t4026-color.sh
@@ -30,6 +30,14 @@ test_expect_success 'attribute before color name' '
color "bold red" "[1;31m"
'
+test_expect_success 'aixterm bright fg color' '
+ color "brightred" "[91m"
+'
+
+test_expect_success 'aixterm bright bg color' '
+ color "green brightblue" "[32;104m"
+'
+
test_expect_success 'color name before attribute' '
color "red bold" "[1;31m"
'