]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t4026-color.sh
color.c: alias RGB colors 8-15 to aixterm colors
[thirdparty/git.git] / t / t4026-color.sh
index 671e951ee5498c7691c5e996c9dfd75dac3e8861..c0b642c1ab03f27dabc58e3b99ba9f8f48bf35d8 100755 (executable)
@@ -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"
 '
@@ -74,6 +82,10 @@ test_expect_success '0-7 are aliases for basic ANSI color names' '
        color "0 7" "[30;47m"
 '
 
+test_expect_success '8-15 are aliases for aixterm color names' '
+       color "12 13" "[94;105m"
+'
+
 test_expect_success '256 colors' '
        color "254 bold 255" "[1;38;5;254;48;5;255m"
 '