* tests/ext.test: Inside shell compound command, use
`if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
fix failure with OpenBSD sh introduced with last patch.
Actually ensure that a rule for .EXT.o is created for each
known extension EXT.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ Improve ext.test semantics, avoid OpenBSD sh errexit issue.
+ * tests/ext.test: Inside shell compound command, use
+ `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
+ fix failure with OpenBSD sh introduced with last patch.
+ Actually ensure that a rule for .EXT.o is created for each
+ known extension EXT.
+
2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
Enable `errexit' shell flag in some test scripts.
for ext in f for f90 f95 F F90 F95 r m upc
do
- grep "^$ext\.o:" Makefile.in && Exit 1
+ if grep "^$ext\.o:" Makefile.in; then Exit 1; else :; fi
+ grep "^\.$ext\.o:" Makefile.in
done
Exit 0