ash: fix "unset OPTIND" throwing an error message
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 10 Aug 2017 22:59:36 +0000 (00:59 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 10 Aug 2017 22:59:36 +0000 (00:59 +0200)
commit4628945cd8d4679912f126d5f18f954210abb7d0
tree84e44413a6c1b3035effa8279d372974d3911275
parent11f2e99c13b42675bb65cf2cfd3e3a98f95f2cee
ash: fix "unset OPTIND" throwing an error message

Added test was failing quite severely. Now only one subtest fails
(OPTERR=0 has no effect).

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash.c
shell/ash_test/ash-getopts/getopt_simple.right [new file with mode: 0644]
shell/ash_test/ash-getopts/getopt_simple.tests [new file with mode: 0755]