From d835b2cae8abc71958b69362162e6a70c3d7ef63 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 08:48:59 +0200 Subject: Adding upstream version 4.6.0. Signed-off-by: Daniel Baumann --- test/testcases/options.exp | 64 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 test/testcases/options.exp (limited to 'test/testcases/options.exp') diff --git a/test/testcases/options.exp b/test/testcases/options.exp new file mode 100644 index 0000000..f13d308 --- /dev/null +++ b/test/testcases/options.exp @@ -0,0 +1,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" -- cgit v1.2.3