diff options
author | Pavel Raiskup <praiskup@redhat.com> | 2016-02-03 10:05:51 +0100 |
---|---|---|
committer | Pavel Raiskup <praiskup@redhat.com> | 2016-02-03 10:12:33 +0100 |
commit | 498566799618cba7d0e7b22140673f0582814054 (patch) | |
tree | e9af7244673233b67a5726e7640f715426921052 /gl/modules/funclib.sh | |
parent | a5c6466528c060cc4660ad0319c00740db0e42ba (diff) | |
download | libtool-498566799618cba7d0e7b22140673f0582814054.tar.gz |
gl-tests: dash && option-parser test fix
Rico pointed out that the testsuite failed on his system (dash
represented /bin/sh). Turns out that 'shift' in dash exits shell
with exit status 2 when there are no items in the array.
The other issue was that 'test-option-parser.sh' did not
re-executed the test in proper shell, but in /bin/sh.
* gl/tests/test-option-parser-helper (test_parse_eat_test): Don't
shift for empty $@.
* gl/tests/test-option-parser.sh: Use $__GL_ALL_SHELLS_SHELL as
shell which runs the helper.
Diffstat (limited to 'gl/modules/funclib.sh')
0 files changed, 0 insertions, 0 deletions