diff options
author | Denys Vlasenko | 2017-08-11 02:05:21 +0200 |
---|---|---|
committer | Denys Vlasenko | 2017-08-11 02:05:21 +0200 |
commit | 81f962f3df0d7194b7a52c6f83259727759094c4 (patch) | |
tree | 906d5d55118f0a7c96579c7d12c62b3a14311a7a /shell/hush_test/hush-getopts/getopt_positional.tests | |
parent | 74d40589288890fffea437ed2f38ad1f2dc740e5 (diff) | |
download | busybox-81f962f3df0d7194b7a52c6f83259727759094c4.zip busybox-81f962f3df0d7194b7a52c6f83259727759094c4.tar.gz |
hush: teach getopts to set/unset OPTARG
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-getopts/getopt_positional.tests')
-rwxr-xr-x | shell/hush_test/hush-getopts/getopt_positional.tests | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/shell/hush_test/hush-getopts/getopt_positional.tests b/shell/hush_test/hush-getopts/getopt_positional.tests index a5404a2..ddf0633 100755 --- a/shell/hush_test/hush-getopts/getopt_positional.tests +++ b/shell/hush_test/hush-getopts/getopt_positional.tests @@ -4,5 +4,4 @@ var=QWERTY while getopts "we" var; do echo "var:'$var' OPTIND:$OPTIND" done -# unfortunately, "rc:0" is shown since while's overall exitcode is "success" echo "exited: var:'$var' OPTIND:$OPTIND" |