diff options
Diffstat (limited to 'tests/python6.test')
-rwxr-xr-x | tests/python6.test | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/python6.test b/tests/python6.test index 86dcfbba7..117448aea 100755 --- a/tests/python6.test +++ b/tests/python6.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2003, 2010 Free Software Foundation, Inc. +# Copyright (C) 2003, 2010, 2011 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 @@ -23,7 +23,7 @@ set -e cat >>configure.in <<\EOF -AM_PATH_PYTHON(,, [echo "GREP ME$PYTHON" >&2]) +AM_PATH_PYTHON(,, [echo "$PYTHON" > py]) AC_OUTPUT EOF @@ -33,9 +33,8 @@ $ACLOCAL $AUTOCONF $AUTOMAKE --add-missing -# Simulate no Python -./configure PYTHON=: 2>stderr || { cat stderr >&2; Exit 1; } -cat stderr >&2 -grep 'GREP ME:' stderr +# Simulate no Python. +./configure PYTHON=: +test x"`cat py`" = x: : |