summaryrefslogtreecommitdiff
path: root/gl/modules/funclib.sh
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2016-02-03 10:05:51 +0100
committerPavel Raiskup <praiskup@redhat.com>2016-02-03 10:12:33 +0100
commit498566799618cba7d0e7b22140673f0582814054 (patch)
treee9af7244673233b67a5726e7640f715426921052 /gl/modules/funclib.sh
parenta5c6466528c060cc4660ad0319c00740db0e42ba (diff)
downloadlibtool-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