home
·
contact
·
privacy
projects
/
redo-blog
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ba1a088
)
Add test for .links files.
author
Christian Heller
<c.heller@plomlompom.de>
Wed, 25 Jan 2017 01:48:44 +0000
(
02:48
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Wed, 25 Jan 2017 01:48:44 +0000
(
02:48
+0100)
test.sh
patch
|
blob
|
history
diff --git
a/test.sh
b/test.sh
index ab23cf8a299229e7ce9b96db75597bcd1671991c..ce50d29a7a50aef30fa56e48c973e663a2276336 100755
(executable)
--- a/
test.sh
+++ b/
test.sh
@@
-91,6
+91,14
@@
for file in "$expected_files_dir"/metadata/*; do
diff_test "$file" "$cmp_file"
done
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")
# Compare generated HTML files. Ignore variable dates.
for file in "$expected_files_dir"/*.html.ignoring; do
basename=$(basename "$file")