aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-06-10 10:48:01 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-06-10 10:49:30 +0200
commit780310275325795722d4a555cdcba2342f6a9e39 (patch)
tree10b88ba56b267444eb819000ddbb4c5a1b28b3ad
parentc5e94b1db232921a4c5eb7f5aa620055e76b3414 (diff)
downloadblogc-780310275325795722d4a555cdcba2342f6a9e39.tar.gz
blogc-780310275325795722d4a555cdcba2342f6a9e39.tar.bz2
blogc-780310275325795722d4a555cdcba2342f6a9e39.zip
make: test atom_posts_per_page = -1
-rwxr-xr-xtests/blogc-make/check_blogc_make.sh.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/blogc-make/check_blogc_make.sh.in b/tests/blogc-make/check_blogc_make.sh.in
index 001241a..fcf47a9 100755
--- a/tests/blogc-make/check_blogc_make.sh.in
+++ b/tests/blogc-make/check_blogc_make.sh.in
@@ -178,6 +178,7 @@ BASE_DOMAIN = http://example.org
[settings]
posts_per_page = -1
+atom_posts_per_page = -1
[posts]
post01
@@ -392,6 +393,20 @@ cat > "${TEMP}/expected-atom.xml" <<EOF
]]></content>
</entry>
+ <entry>
+ <title type="text">Post 01</title>
+ <id>/post/post01/</id>
+ <updated>2016-09-01T00:00:00Z</updated>
+ <published>2016-09-01T00:00:00Z</published>
+ <link href="http://example.org/post/post01/" />
+ <author>
+ <name>Lol</name>
+ <email>author@example.com</email>
+ </author>
+ <content type="html"><![CDATA[<p>This is Post 01.</p>
+]]></content>
+ </entry>
+
</feed>
EOF
diff -uN "${TEMP}/proj/_build/atom.xml" "${TEMP}/expected-atom.xml"