mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-21 01:40:57 +08:00
Fix testsuite errors due to shell quoted parameter expansion issue.
* tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP): Insert space between double-quoted and unquoted shell parameter, as bash 4.0.28 doesn't add one in its output if the expansion of the second one starts with a space. (short option splitting, enhanced shell short option splitting) (long option splitting, XSI long option splitting): Add space in expected output. Fixes testsuite failures on AIX, FreeBSD, etc. Report by Rainer Tammer. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
parent
1162eebc69
commit
06543b4373
13
ChangeLog
13
ChangeLog
@ -1,3 +1,16 @@
|
||||
2010-08-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
Fix testsuite errors due to shell quoted parameter expansion issue.
|
||||
* tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP): Insert space
|
||||
between double-quoted and unquoted shell parameter, as bash
|
||||
4.0.28 doesn't add one in its output if the expansion of the
|
||||
second one starts with a space.
|
||||
(short option splitting, enhanced shell short option splitting)
|
||||
(long option splitting, XSI long option splitting): Add space in
|
||||
expected output.
|
||||
Fixes testsuite failures on AIX, FreeBSD, etc.
|
||||
Report by Rainer Tammer.
|
||||
|
||||
2010-08-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
Fix build failure with AIX sh due to shell quoting error.
|
||||
|
@ -44,7 +44,7 @@ M4SH_GETOPTS(
|
||||
[i], [--install], [], [options="$options install"],
|
||||
[v], [--verbose], [], [options="$options verbose"],
|
||||
[!], [--ltdl], [false],[options="$options ltdl=$optarg"],
|
||||
[echo "$list"$options])
|
||||
[echo "$list" $options])
|
||||
]])
|
||||
m4_pattern_forbid([m4_include])
|
||||
m4_pattern_forbid([AS_INIT])
|
||||
@ -87,7 +87,7 @@ rm -f options && mv options.tmp options])
|
||||
AT_SETUP([short option splitting])
|
||||
|
||||
AT_DATA(expout,
|
||||
[[force verbose install
|
||||
[[ force verbose install
|
||||
]])
|
||||
|
||||
_LT_AT_GETOPT_M4SH_SETUP
|
||||
@ -103,7 +103,7 @@ AT_SETUP([enhanced shell short option splitting])
|
||||
AT_CHECK([fgrep '# Extended-shell func_split_short_opt' $abs_top_builddir/libtool >/dev/null 2>&1 || (exit 77)])
|
||||
|
||||
AT_DATA(expout,
|
||||
[[force verbose install
|
||||
[[ force verbose install
|
||||
]])
|
||||
|
||||
_LT_AT_GETOPT_M4SH_SETUP
|
||||
@ -121,7 +121,7 @@ AT_CLEANUP
|
||||
AT_SETUP([long option splitting])
|
||||
|
||||
AT_DATA(expout,
|
||||
[[ltdl=long
|
||||
[[ ltdl=long
|
||||
]])
|
||||
|
||||
_LT_AT_GETOPT_M4SH_SETUP
|
||||
@ -137,7 +137,7 @@ AT_SETUP([XSI long option splitting])
|
||||
AT_CHECK([fgrep '# Extended-shell func_split_long_opt' $abs_top_builddir/libtool >/dev/null 2>&1 || (exit 77)])
|
||||
|
||||
AT_DATA(expout,
|
||||
[[ltdl=long
|
||||
[[ ltdl=long
|
||||
]])
|
||||
|
||||
_LT_AT_GETOPT_M4SH_SETUP
|
||||
|
Loading…
Reference in New Issue
Block a user