From 007f360e8eb3a6bf3d6770681198710fe1fe4d23 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sun, 1 Jan 2017 23:41:37 +0100 Subject: make: rename settings.ini to blogcfile --- tests/blogc-make/check_blogc_make.sh.in | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 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 2139664..9993a22 100755 --- a/tests/blogc-make/check_blogc_make.sh.in +++ b/tests/blogc-make/check_blogc_make.sh.in @@ -19,7 +19,7 @@ mkdir -p "${TEMP}"/proj{,/templates,/content/post} ### minimal settings, will produce no file -cat > "${TEMP}/proj/settings.ini" < "${TEMP}/proj/blogcfile" <&1 +${TESTS_ENVIRONMENT} ./blogc-make -f "${TEMP}/proj/blogcfile" 2>&1 ### default settings with some posts @@ -58,13 +58,13 @@ Listing: {% ifdef FILTER_TAG %}{{ FILTER_TAG }} - {% endif %}{{ TITLE }} - {{ DA {% endblock %} EOF -cat >> "${TEMP}/proj/settings.ini" <> "${TEMP}/proj/blogcfile" <&1 | tee "${TEMP}/output.txt" +${TESTS_ENVIRONMENT} ./blogc-make -f "${TEMP}/proj/blogcfile" 2>&1 | tee "${TEMP}/output.txt" grep "_build/index\\.html" "${TEMP}/output.txt" grep "_build/atom\\.xml" "${TEMP}/output.txt" grep "_build/page/1/index\\.html" "${TEMP}/output.txt" @@ -165,14 +165,14 @@ TAGS: tag1 tag2 This is baz. EOF -cat >> "${TEMP}/proj/settings.ini" <> "${TEMP}/proj/blogcfile" <&1 | tee "${TEMP}/output.txt" +${TESTS_ENVIRONMENT} ./blogc-make -f "${TEMP}/proj/blogcfile" 2>&1 | tee "${TEMP}/output.txt" grep "_build/index\\.html" "${TEMP}/output.txt" grep "_build/atom\\.xml" "${TEMP}/output.txt" grep "_build/atom/tag1\\.xml" "${TEMP}/output.txt" @@ -369,13 +369,13 @@ TITLE: Page 2 This is page 2. EOF -cat >> "${TEMP}/proj/settings.ini" <> "${TEMP}/proj/blogcfile" <&1 | tee "${TEMP}/output.txt" +${TESTS_ENVIRONMENT} ./blogc-make -f "${TEMP}/proj/blogcfile" 2>&1 | tee "${TEMP}/output.txt" grep "_build/index\\.html" "${TEMP}/output.txt" grep "_build/atom\\.xml" "${TEMP}/output.txt" grep "_build/atom/tag1\\.xml" "${TEMP}/output.txt" @@ -459,7 +459,7 @@ Listing: {% ifdef FILTER_TAG %}{{ FILTER_TAG }} - {% endif %}{{ TITLE }} - {{ DA {% endblock %} EOF -cat > "${TEMP}/proj/settings.ini" < "${TEMP}/proj/blogcfile" <&1 | tee "${TEMP}/output.txt" +${TESTS_ENVIRONMENT} ./blogc-make -f "${TEMP}/proj/blogcfile" 2>&1 | tee "${TEMP}/output.txt" grep "_blogc_build/posts\\.html" "${TEMP}/output.txt" grep "_blogc_build/atoom/index\\.xml" "${TEMP}/output.txt" grep "_blogc_build/pagination/1\\.html" "${TEMP}/output.txt" @@ -584,14 +584,14 @@ TAGS: tag1 tag2 This is baz. EOF -cat >> "${TEMP}/proj/settings.ini" <> "${TEMP}/proj/blogcfile" <&1 | tee "${TEMP}/output.txt" +${TESTS_ENVIRONMENT} ./blogc-make -f "${TEMP}/proj/blogcfile" 2>&1 | tee "${TEMP}/output.txt" grep "_blogc_build/posts\\.html" "${TEMP}/output.txt" grep "_blogc_build/atoom/index\\.xml" "${TEMP}/output.txt" grep "_blogc_build/atoom/tag1/index\\.xml" "${TEMP}/output.txt" @@ -731,13 +731,13 @@ TITLE: Page 2 This is page 2. EOF -cat >> "${TEMP}/proj/settings.ini" <> "${TEMP}/proj/blogcfile" <&1 | tee "${TEMP}/output.txt" +${TESTS_ENVIRONMENT} ./blogc-make -f "${TEMP}/proj/blogcfile" 2>&1 | tee "${TEMP}/output.txt" grep "_blogc_build/posts\\.html" "${TEMP}/output.txt" grep "_blogc_build/atoom/index\\.xml" "${TEMP}/output.txt" grep "_blogc_build/atoom/tag1/index\\.xml" "${TEMP}/output.txt" -- cgit v1.2.3-18-g5258