diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2008-01-13 18:05:44 +0100 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2008-01-13 18:05:44 +0100 |
commit | 1cffd11eba0784a16e2ef2f518b50b102100cd3f (patch) | |
tree | 3c4c352b02bcd38136d4e25b858118b2c0ca9f84 | |
parent | 74dc99925da8850d2ebb6e85fc00597b348685b1 (diff) | |
download | automake-1cffd11eba0784a16e2ef2f518b50b102100cd3f.tar.gz |
Do not fail if `autoupdate' is not present.
* tests/obsolete.test: Check for presence of autoupdate. Apparently,
FreeBSD may install the other Autoconf programs without a version
suffix but not autoupdate.
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | tests/obsolete.test | 4 |
2 files changed, 8 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2008-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + Do not fail if `autoupdate' is not present. + * tests/obsolete.test: Check for presence of autoupdate. Apparently, + FreeBSD may install the other Autoconf programs without a version + suffix but not autoupdate. + Fix Heisenbug trying to unset a sometimes-not-set variable. * tests/check5.test: Do not error out upon `unset TESTS' due to `set -e', in case TESTS was not set. diff --git a/tests/obsolete.test b/tests/obsolete.test index 09c1ce7ef..a27a21533 100755 --- a/tests/obsolete.test +++ b/tests/obsolete.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 1996, 2001, 2002, 2007 Free Software Foundation, Inc. +# Copyright (C) 1996, 2001, 2002, 2007, 2008 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,6 +16,8 @@ # Test to make sure obsolete macros can be autoupdated. +set x ${AUTOUPDATE-autoupdate} +required=$2 . ./defs || exit 1 cat > configure.in << 'END' |