# Test the += diagnostics.
-. ./defs || Exit 1
+. ./defs || exit 1
cat >>configure.ac << 'END'
AM_CONDITIONAL([COND1], [true])
grep '[cC]annot apply.*+=' stderr
grep ': !COND1 and !COND3$' stderr
# Make sure there is exactly one missing condition.
-test `grep ': ' stderr | wc -l` = 1
+test $(grep -c ': ' stderr) -eq 1
: