/usr/share/crmsh/tests/testcases/options.exp is in crmsh 2.3.2-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | .TRY Options
.INP: options
.INP: reset
.INP: pager cat
.INP: editor vi
.INP: show
editor "vi"
pager "cat"
user ""
skill-level "expert"
output "color"
colorscheme "yellow,normal,cyan,red,green,magenta"
sort-elements "yes"
check-frequency "always"
check-mode "strict"
wait "no"
add-quotes "yes"
manage-children "ask"
.INP: check-frequency never
.INP: check-mode nosuchever
ERROR: nosuchever not valid (choose one from strict,relaxed)
.INP: colorscheme normal,yellow,cyan,red,green,magenta
.INP: colorscheme normal,yellow,cyan,red
ERROR: bad color scheme: normal,yellow,cyan,red
.INP: pager nosuchprogram
ERROR: nosuchprogram does not exist or is not a program
.INP: skill-level operator
.INP: skill-level joe
ERROR: joe not valid (choose one from operator,administrator,expert)
.INP: skill-level expert
.INP: output plain
.INP: output misplain
ERROR: misplain not valid (choose one from plain,color,uppercase)
.INP: wait true
.INP: wait off
.INP: wait happy
ERROR: happy not valid (yes or no are valid)
.INP: show
editor "vi"
pager "cat"
user ""
skill-level "expert"
output "plain"
colorscheme "normal,yellow,cyan,red,green,magenta"
sort-elements "yes"
check-frequency "never"
check-mode "strict"
wait "off"
add-quotes "yes"
manage-children "ask"
.INP: save
.TRY options show
editor "vi"
pager "cat"
user ""
skill-level "expert"
output "plain"
colorscheme "normal,yellow,cyan,red,green,magenta"
sort-elements "yes"
check-frequency "never"
check-mode "strict"
wait "off"
add-quotes "yes"
manage-children "ask"
|