summaryrefslogtreecommitdiff
path: root/t/yacc-basic.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/yacc-basic.sh')
-rwxr-xr-xt/yacc-basic.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/yacc-basic.sh b/t/yacc-basic.sh
index d2fd49061..34c7565b2 100755
--- a/t/yacc-basic.sh
+++ b/t/yacc-basic.sh
@@ -67,7 +67,7 @@ test -f bar-parse.c
# Check that per-object flags are honored.
test -f bar-parse.output
-if cross_compiling; then :; else
+if ! cross_compiling; then
echo a | ./foo
echo b | ./foo && Exit 1
echo a | ./bar