* tests/testsuite.at: Test `unset' on a set variable; older

bash versions return 1 if the variable was not set.
This commit is contained in:
Ralf Wildenhues 2006-09-03 15:19:38 +00:00
parent 8aabc32cac
commit eb5e2e11ce
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2006-09-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/testsuite.at: Test `unset' on a set variable; older
bash versions return 1 if the variable was not set.
* tests/am-subdir.at, tests/early-libtool.at: Fix the LF vs.
CRLF related failures on MinGW by grepping for good output
instead of using AT_CHECK's `expout'.

View File

@ -35,7 +35,7 @@ configure_options=
if test -n "$host_alias"; then
configure_options="--host $host_alias"
fi
if (unset FOO) >/dev/null 2>&1; then
if (FOO=bar; unset FOO) >/dev/null 2>&1; then
unset=unset
else
unset=false