From 419db0391e47444dd12fb052613fd415694d04f0 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 11 Aug 2017 17:21:14 +0200 Subject: hush: implement "silent" optstrings of ":opts" Signed-off-by: Denys Vlasenko --- shell/hush_test/hush-getopts/getopt_silent.right | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 shell/hush_test/hush-getopts/getopt_silent.right (limited to 'shell/hush_test/hush-getopts/getopt_silent.right') diff --git a/shell/hush_test/hush-getopts/getopt_silent.right b/shell/hush_test/hush-getopts/getopt_silent.right new file mode 100644 index 000000000..03d4eb149 --- /dev/null +++ b/shell/hush_test/hush-getopts/getopt_silent.right @@ -0,0 +1,6 @@ +*** optstring:':ac' args:-a -b -c +1 rc:0 var:'a' OPTIND:2 OPTARG:'' +2 rc:0 var:'?' OPTIND:3 OPTARG:'b' +3 rc:0 var:'c' OPTIND:4 OPTARG:'' +4 rc:1 var:'?' OPTIND:4 OPTARG:'' +5 rc:1 var:'?' OPTIND:4 OPTARG:'' -- cgit v1.2.3