Debian Codegraph @

src/test/help.config

raw
1 #! /bin/sh -e
2 # Test for help line colours while displaying error messages.
3
4 . ../client/confmodule
5
6 # Help line starts out with original colours.
7 db_fset test-help/boolean seen false
8 db_input critical test-help/boolean
9 db_go
10
11 # Help line changes to match error colours.
12 db_input critical test-help/error
13 db_go
14
15 # Help line should return to original colours.
16 db_fset test-help/boolean seen false
17 db_input critical test-help/boolean
18 db_go
19
20 exit 0