From 780310275325795722d4a555cdcba2342f6a9e39 Mon Sep 17 00:00:00 2001
From: "Rafael G. Martins" <rafael@rafaelmartins.eng.br>
Date: Sun, 10 Jun 2018 10:48:01 +0200
Subject: make: test atom_posts_per_page = -1

---
 tests/blogc-make/check_blogc_make.sh.in | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

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"
-- 
cgit v1.2.3-18-g5258