]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/netbsd-tests/lib/libcurses/tests/assume_default_colors
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / netbsd-tests / lib / libcurses / tests / assume_default_colors
1 include start
2 call OK start_color
3 call OK assume_default_colors -1 -1
4 call OK refresh
5 compare color_start.chk
6 # This should be the same as the default
7 compare color_default.chk
8 # default foreground, blue background
9 call OK assume_default_colors -1 $COLOR_BLUE
10 call OK refresh
11 compare color_blue_back.chk
12 # red foreground, default background
13 call OK assume_default_colors $COLOR_RED -1
14 call OK refresh
15 compare color_red_fore.chk
16 # back to default
17 call OK assume_default_colors -1 -1
18 call OK refresh
19 compare color_default.chk