From: Ralf Wildenhues Date: Sun, 3 Sep 2006 15:19:38 +0000 (+0000) Subject: * tests/testsuite.at: Test `unset' on a set variable; older X-Git-Tag: release-2-1b~254 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb5e2e11ce661b8de2f6e5ea6633200eb5d960cd;p=thirdparty%2Flibtool.git * tests/testsuite.at: Test `unset' on a set variable; older bash versions return 1 if the variable was not set. --- diff --git a/ChangeLog b/ChangeLog index 194422d84..ee5e8e7ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-09-03 Ralf Wildenhues + * 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'. diff --git a/tests/testsuite.at b/tests/testsuite.at index ad97009d3..ab11e5c68 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -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