diff --git a/samples/Makefile b/samples/Makefile
index 1c65547..d1b06c4 100644
--- a/samples/Makefile
+++ b/samples/Makefile
@@ -39,21 +39,21 @@ all: tests crypts
tests:
for i in $(TESTS); do \
$(ECHO) $$i; \
- $(PDF2TXT) -t html -o $$i.html $$i.pdf; \
- $(CMP) $$i.html $$i.html.ref; \
- $(PDF2TXT) -t xml -o $$i.xml $$i.pdf; \
- $(CMP) $$i.xml $$i.xml.ref; \
- $(PDF2TXT) -t text -o $$i.txt $$i.pdf; \
- $(CMP) $$i.txt $$i.txt.ref; \
+ $(PDF2TXT) -t html -o $$i.html $$i.pdf || exit 1; \
+ $(CMP) $$i.html $$i.html.ref || exit 1; \
+ $(PDF2TXT) -t xml -o $$i.xml $$i.pdf || exit 1; \
+ $(CMP) $$i.xml $$i.xml.ref || exit 1; \
+ $(PDF2TXT) -t text -o $$i.txt $$i.pdf || eixt 1; \
+ $(CMP) $$i.txt $$i.txt.ref || exit 1; \
done
crypts:
for i in $(CRYPTS); do \
$(ECHO) $$i; \
- $(PDF2TXT) -t xml -P $(CRYPT_PASS1) -o $$i.1.xml $$i.pdf; \
- $(CMP) $$i.1.xml $(CRYPT_BASE).xml; \
- $(PDF2TXT) -t xml -P $(CRYPT_PASS2) -o $$i.2.xml $$i.pdf; \
- $(CMP) $$i.2.xml $(CRYPT_BASE).xml; \
+ $(PDF2TXT) -t xml -P $(CRYPT_PASS1) -o $$i.1.xml $$i.pdf || exit 1; \
+ $(CMP) $$i.1.xml $(CRYPT_BASE).xml || exit 1; \
+ $(PDF2TXT) -t xml -P $(CRYPT_PASS2) -o $$i.2.xml $$i.pdf || exit 1; \
+ $(CMP) $$i.2.xml $(CRYPT_BASE).xml || exit 1; \
done
test:
diff --git a/samples/nonfree/f1040nr.html.ref b/samples/nonfree/f1040nr.html.ref
index e0d71fb..53f117c 100644
--- a/samples/nonfree/f1040nr.html.ref
+++ b/samples/nonfree/f1040nr.html.ref
@@ -269,9 +269,9 @@
Taxable amount (see page 13)