From: Eric S. Raymond Date: Wed, 20 Oct 2010 15:57:08 +0000 (-0400) Subject: Restore our test files, and ensure they're not deleted again. X-Git-Tag: 2.8~6 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=e4681f8907fd5cc5419fa64a2734cdd18cd7960d;p=imgsizer.git Restore our test files, and ensure they're not deleted again. --- diff --git a/Makefile b/Makefile index acc825c..06e3f0c 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ uninstall: clean: rm -f imgsizer.1 *~ rm -f imgsizer-*-1.noarch.rpm imgsizer-*-1.noarch.rpm imgsizer-*.tar.gz - rm -f test-after.html + rm -f test-after.html index.html imgsizer imgsizer.1: imgsizer.xml xmlto man imgsizer.xml @@ -39,4 +39,4 @@ test: dist: imgsizer-$(VERS).tar.gz release: imgsizer-$(VERS).tar.gz imgsizer.html - shipper -f; rm -f CHANGES ANNOUNCE* *.1 *.html *.rpm *.lsm + shipper - u -m -t; make clean diff --git a/test-before.html b/test-before.html new file mode 100644 index 0000000..a3c8966 --- /dev/null +++ b/test-before.html @@ -0,0 +1,31 @@ +Imgsizer Testfile +Ok: absolute URL
+
+Error: no src-tag
+
+Warn: no quotes (we don't insert them)
+
+A tag (alt), which should be skipped by imgsize
+Dummy Picture
+Warn: whitespace
+
+Warn: whitespace and a newline
+
+Ok: relative URL
+
+Ok: also relative
+
+Don't overwrite an existing single width-tag
+Imgsizer should calculate the height-tag
+Warn: A single existing height-tag
+should be ignored and overwritten.
+Both tags given: Don't overwrite anything
+
+Paranoia ;-)
+
+A given relative width
+the img should be skipped.
+Try a JPEG + + diff --git a/test-converted.html b/test-converted.html new file mode 100644 index 0000000..b44c5b2 --- /dev/null +++ b/test-converted.html @@ -0,0 +1,31 @@ +Imgsizer Testfile +Ok: absolute URL
+
+Error: no src-tag
+
+Warn: no quotes (we don't insert them)
+
+A tag (alt), which should be skipped by imgsize
+Dummy Picture
+Warn: whitespace
+
+Warn: whitespace and a newline
+
+Ok: relative URL
+
+Ok: also relative
+
+Don't overwrite an existing single width-tag
+Imgsizer should calculate the height-tag
+Warn: A single existing height-tag
+should be ignored and overwritten.
+Both tags given: Don't overwrite anything
+
+Paranoia ;-)
+
+A given relative width
+the img should be skipped.
+Try a JPEG + +