From 6af0d20f95e905eef190abf8ea442bbe018171c2 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Sun, 24 Apr 2011 18:08:44 +0200 Subject: [PATCH] tests: fix spurious failure (non-renamed AM_TESTS_SETUP usage) * tests/parallel-tests-reset-term.test: Use AM_TESTS_ENVIRONMENT instead of AM_TESTS_SETUP (which has been removed in commit v1.11-349-g12f48fa). Fix spurious failure introduced by merge `v1.11-781-gfeed175'. --- ChangeLog | 8 ++++++++ tests/parallel-tests-reset-term.test | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index a84daca75..a36efe5aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-04-24 Stefano Lattarini + + tests: fix spurious failure (non-renamed AM_TESTS_SETUP usage) + * tests/parallel-tests-reset-term.test: Use AM_TESTS_ENVIRONMENT + instead of AM_TESTS_SETUP (which has been removed in commit + v1.11-349-g12f48fa). + Fix spurious failure introduced by merge `v1.11-781-gfeed175'. + 2011-04-18 Stefano Lattarini check: rename AM_TESTS_SETUP -> AM_TESTS_ENVIRONMENT diff --git a/tests/parallel-tests-reset-term.test b/tests/parallel-tests-reset-term.test index c98a6b51d..3a222c0b8 100755 --- a/tests/parallel-tests-reset-term.test +++ b/tests/parallel-tests-reset-term.test @@ -14,8 +14,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# Check that the parallel-tests driver correctly handle overrides of -# the TERM variable by either TESTS_ENVIRONMENT and AM_TESTS_SETUP. +# Check that the parallel-tests driver correctly handle overrides of the +# TERM variable by either TESTS_ENVIRONMENT and AM_TESTS_ENVIRONMENT. parallel_tests=yes . ./defs || Exit 1 @@ -78,12 +78,12 @@ cat stdout | $FGREP "$esc" && Exit 1 TERM=ansi; export TERM expected_term=dumb; export expected_term -mkcheck AM_TESTS_SETUP='TERM=dumb' +mkcheck AM_TESTS_ENVIRONMENT='TERM=dumb' cat stdout | grep "PASS.*foobar" | $FGREP "$esc" TERM=dumb; export TERM expected_term=ansi; export expected_term -mkcheck AM_TESTS_SETUP='TERM=ansi' +mkcheck AM_TESTS_ENVIRONMENT='TERM=ansi' cat stdout | $FGREP "$esc" && Exit 1 : -- 2.47.2