summaryrefslogtreecommitdiff
path: root/tests/cond9.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cond9.test')
-rwxr-xr-xtests/cond9.test11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/cond9.test b/tests/cond9.test
index 22792aeb5..c0398719b 100755
--- a/tests/cond9.test
+++ b/tests/cond9.test
@@ -20,7 +20,7 @@
. ./defs || Exit 1
cat >> configure.in << 'END'
-AM_CONDITIONAL(WRONG, [test x = y])
+AM_CONDITIONAL([WRONG], [test x = y])
AC_OUTPUT
END
@@ -31,12 +31,15 @@ else
this=is_something_interesting
endif
-echo-something:
- echo '$(this)'
+.PHONY: test-this
+test-this:
+ test '$(this)' = is_something_interesting
END
$ACLOCAL
$AUTOCONF
$AUTOMAKE -a
./configure
-$MAKE echo-something | grep interesting > /dev/null
+$MAKE test-this
+
+: