Commit 80919bd6 authored by Stephan Uhlmann's avatar Stephan Uhlmann

more specific md5 content check

parent 6974bfe8
Pipeline #25419123 failed with stage
in 1 minute and 25 seconds
......@@ -39,8 +39,60 @@ runtest "dataset1 files" "echo easygg/* | md5sum | grep \"14690a60ed80f7d53176e3
# tests if all *.html files produce no parsing errors
runtest "dataset1 html validation" "xmllint --noout --valid --html easygg/*.html 2>&1" "[ \$RET -eq 0 ] && [ -z \"\$OUTPUT\" ]"
cat << EOF > easygg/md5sums
3e3edcfdd60b2e7e543f830ade61cb95 easygg/index.html
7ddabcf5c4a456d61fd40f40b034d621 easygg/page_07110002.jpg.html
6c677bbbad8a49e6c74fe5b880d13d2d easygg/page_07110007.jpg.html
2f99d83173e578965ee996522282e984 easygg/page_07110008.jpg.html
5d717b86b1e8b5782061ce6a39f080a7 easygg/page_07110011.jpg.html
efb05da915444f4e16f023dc3acfc3e6 easygg/page_07110017.jpg.html
30a7822ffc730b0276cccbb7aa383329 easygg/page_07110019.jpg.html
23a09a84a06e458e4799020b014fef6e easygg/page_07110021.jpg.html
bc93df78147f56c03d94827ec3ba7c67 easygg/page_07110038.jpg.html
bbdc4b60624d840a0e11ab949425a408 easygg/page_07110048.jpg.html
a0e2629dca94926594f229760c45113a easygg/page_07110051.jpg.html
2b2a5e7dc3478044423410114ea62b97 easygg/page_07110069.jpg.html
bcd1b040ff8b954c915138ddb185b7a7 easygg/page_07110073.jpg.html
6fb0f28b198e651a3d29c920b36d1d94 easygg/page_07110077.jpg.html
d336ed59ece3954681ab2f3d8d8cb699 easygg/page_07110081.jpg.html
8867ec6044126d729638f63d8c00a227 easygg/page_07110090.jpg.html
103b4bbd81f5af7027ca919314da5017 easygg/page_07110094.jpg.html
4ab89b5231ca01c5f9b19ada7c5f8bea easygg/pic_07110002.jpg
d6d5d7f83a814d8d384149d59eada369 easygg/pic_07110007.jpg
0bc51ce9a14afffd826aeb1cd246ccb0 easygg/pic_07110008.jpg
fbe51551d2482867d5933944f10d9c65 easygg/pic_07110011.jpg
238dad3dc2825df8c9d58dcd7a70e6aa easygg/pic_07110017.jpg
d29ce76ebdb94075e090148c8d9bba60 easygg/pic_07110019.jpg
74b6243f3aff0cc6eb739714436cc4f1 easygg/pic_07110021.jpg
cddf959ad970a9021b9e4b2036da3507 easygg/pic_07110038.jpg
79ad0ae877d668c743c921c916927535 easygg/pic_07110048.jpg
41f5f97150735b80635148c23efe4929 easygg/pic_07110051.jpg
60b5509625722ba972a12852d4307dce easygg/pic_07110069.jpg
6d21d92d490d05b4b4e18e61b4e35793 easygg/pic_07110073.jpg
c8649ba8521e7c0e9a38d85c8fe9e394 easygg/pic_07110077.jpg
c4b559a7cac29377ae2ba19ccdda4c81 easygg/pic_07110081.jpg
0a647141d153e38457679352a207258f easygg/pic_07110090.jpg
daadda8dcd7a44b1e6b3aaf7b64ced64 easygg/pic_07110094.jpg
ed5b5aba2a02594adf9dce4df196b9d9 easygg/thumb_07110002.jpg
e2bd8ea6473f607014f318413cebe273 easygg/thumb_07110007.jpg
0dda43412b81d43cbf479f2df7a33887 easygg/thumb_07110008.jpg
89127307c25694050bc26fa21e826cd4 easygg/thumb_07110011.jpg
763ce8b738604eb5f6f3c4bb70bd98ab easygg/thumb_07110017.jpg
d646fdd1bfdcdc12b100b86ad02b637c easygg/thumb_07110019.jpg
19b90c4272d596d734e241e949cc5d9e easygg/thumb_07110021.jpg
279e5054ad6ce25453f9ac7ae8b16c9d easygg/thumb_07110038.jpg
f3ac35a760d0b71d4c1a51e421cf421b easygg/thumb_07110048.jpg
e9c00ce873e7aef6ec68bdb0f0021eb4 easygg/thumb_07110051.jpg
e2731bd8bb8dc1f4b83532696e0e4514 easygg/thumb_07110069.jpg
0ee7be17eef79928bcb6d1c30d8095f2 easygg/thumb_07110073.jpg
01b23e389e53b6e8eead07975a93f357 easygg/thumb_07110077.jpg
bcbd8a80f2eeb294a5019be62e46f441 easygg/thumb_07110081.jpg
d456a18567bdfc151b68afb5f53d8007 easygg/thumb_07110090.jpg
fe44e1035350e1235d92c8740540e704 easygg/thumb_07110094.jpg
EOF
# tests if same content is produced
runtest "dataset1 content" "cat easygg/* | md5sum | grep \"ceedae79705a0c7efcc79e37ca3a6b7b\"" "[ \$RET -eq 0 ]"
runtest "dataset1 content" "md5sum --check easygg/md5sums" "[ \$RET -eq 0 ]"
rm -rf easygg
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment