From: Christian Heller Date: Wed, 25 Jan 2017 01:48:44 +0000 (+0100) Subject: Add test for .links files. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/do_todos?a=commitdiff_plain;h=7849f6d516ab555c83ae9d979c71e874383b9c17;p=redo-blog Add test for .links files. --- diff --git a/test.sh b/test.sh index ab23cf8..ce50d29 100755 --- a/test.sh +++ b/test.sh @@ -91,6 +91,14 @@ for file in "$expected_files_dir"/metadata/*; do diff_test "$file" "$cmp_file" done +# Compare .links files. +cd "$working_dir" +for file in "$expected_files_dir"/*.links "$expected_files_dir"/*.captcha; do + basename=$(basename "$file") + cmp_file="$generated_files_dir/$basename" + diff_test "$file" "$cmp_file" +done + # Compare generated HTML files. Ignore variable dates. for file in "$expected_files_dir"/*.html.ignoring; do basename=$(basename "$file")