From 2c9cb299c6a137d8049afd28d851e5989f3192e1 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Wed, 3 Apr 2019 01:44:14 +0200 Subject: make: added listing_entry test --- tests/blogc-make/check_blogc_make.sh.in | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'tests/blogc-make/check_blogc_make.sh.in') diff --git a/tests/blogc-make/check_blogc_make.sh.in b/tests/blogc-make/check_blogc_make.sh.in index c62cd65..eea0cc7 100755 --- a/tests/blogc-make/check_blogc_make.sh.in +++ b/tests/blogc-make/check_blogc_make.sh.in @@ -59,7 +59,7 @@ EOF done cat > "${TEMP}/proj/templates/main.tmpl" < "${TEMP}/proj/content/hue.txt" < "${TEMP}/proj/blogcfile" < "${TEMP}/expected-index.html" <This is hue.

Listing: Foo - Oct 01, 2016, 12:00 AM GMT @@ -865,7 +873,7 @@ diff -uN "${TEMP}/proj/_build/post/bar/index.html" "${TEMP}/expected-post-bar.ht rm -rf "${TEMP}/proj/_build" -### default settings with some posts and tags, order asc +### default settings with some posts and tags, order asc, listing_entry cat > "${TEMP}/proj/content/post/baz.txt" < "${TEMP}/expected-index.html" <This is hue.

Listing: Foo - Oct 01, 2016, 12:00 AM GMT @@ -1047,6 +1056,7 @@ diff -uN "${TEMP}/proj/_build/post/bar/index.html" "${TEMP}/expected-post-bar.ht diff -uN "${TEMP}/proj/_build/post/baz/index.html" "${TEMP}/expected-post-baz.html" cat > "${TEMP}/expected-tag1.html" <This is hue.

Listing: tag1 - Baz - Aug 01, 2016, 12:00 AM GMT @@ -1055,6 +1065,7 @@ EOF diff -uN "${TEMP}/proj/_build/tag/tag1/index.html" "${TEMP}/expected-tag1.html" cat > "${TEMP}/expected-tag2.html" <This is hue.

Listing: tag2 - Baz - Aug 01, 2016, 12:00 AM GMT -- cgit v1.2.3-18-g5258