Reported by KO Myung-Hun.
* tests/test-init.sh: Use 'shopt' only when running in bash.
+2017-10-07 Bruno Haible <bruno@clisp.org>
+
+ test-framework-sh: Don't require bash on Windows and OS/2.
+ Reported by KO Myung-Hun.
+ * tests/test-init.sh: Use 'shopt' only when running in bash.
+
2017-10-06 KO Myung-Hun <komh@chollian.net>
wcwidth: check a macro version of wcwidth () as well
# That is part of the shell-selection test above. Why use aliases rather
# than functions? Because support for hyphen-containing aliases is more
# widespread than that for hyphen-containing function names.
-test -n "$EXEEXT" && shopt -s expand_aliases
+test -n "$EXEEXT" && test -n "$BASH_VERSION" && shopt -s expand_aliases
# Enable glibc's malloc-perturbing option.
# This is useful for exposing code that depends on the fact that