* tests/check5.test: Do not error out upon `unset TESTS' due to
`set -e', in case TESTS was not set.
* tests/color.test: Likewise.
2008-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+ 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.
+ * tests/color.test: Likewise.
+
* doc/automake.texi (amhello Explained): Fix odd sentence.
Report by nightstrike@gmail.com.
#! /bin/sh
-# Copyright (C) 2006, 2007 Free Software Foundation, Inc.
+# Copyright (C) 2006, 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
cp one.c two.c
./configure
-unset TESTS
+unset TESTS || :
$MAKE check
test -f ok
EXEEXT=.bin $MAKE -e print-tests >output
#! /bin/sh
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 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
expect eof
END
-unset TESTS
+unset TESTS || :
AM_COLOR_TESTS=always $MAKE -e check >stdout && { cat stdout; exit 1; }
cat stdout