[libxslt] Allow REC tests with empty stdout
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxslt] Allow REC tests with empty stdout
- Date: Fri, 29 Apr 2016 16:09:37 +0000 (UTC)
commit dc241451b9cdc2dc6b834c51d8a62c54a45ac783
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Fri Apr 29 17:42:28 2016 +0200
Allow REC tests with empty stdout
tests/REC/Makefile.am | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tests/REC/Makefile.am b/tests/REC/Makefile.am
index fd06dd8..7ca6db7 100644
--- a/tests/REC/Makefile.am
+++ b/tests/REC/Makefile.am
@@ -103,7 +103,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc
cp $$name.bad $(srcdir)/$$name.err ; \
fi ; \
else \
- if [ ! -s $$name.res ] ; then \
+ if [ ! -f $$name.res ] ; then \
echo "Fatal error, no $$name.res\n" ; \
else \
diff $(srcdir)/$$name.out $$name.res ; \
@@ -132,7 +132,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc
cp $$name.bad $(srcdir)/$$name.stand.err ; \
fi ; \
else \
- if [ ! -s $$name.res ] ; then \
+ if [ ! -f $$name.res ] ; then \
echo "Fatal error, no $$name.res\n" ; \
else \
diff $(srcdir)/$$name.stand.out $$name.res ; \
@@ -165,7 +165,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc
cp $$name.bad $(srcdir)/$$name.err ; \
fi ; \
else \
- if [ ! -s $$name.res ] ; then \
+ if [ ! -f $$name.res ] ; then \
echo "Fatal error, no $$name.res\n" ; \
else \
diff $(srcdir)/$$name.out $$name.res ; \
@@ -194,7 +194,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc
cp $$name.bad $(srcdir)/$$name.stand.err ; \
fi ; \
else \
- if [ ! -s $$name.res ] ; then \
+ if [ ! -f $$name.res ] ; then \
echo "Fatal error, no $$name.res\n" ; \
else \
diff $(srcdir)/$$name.stand.out $$name.res ; \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]