gabe
817953c6f1
Instead of being embedded in every document, the stylesheet is now copied to a single directory at the top of the website directory structure. Also reused that code to automatically set the imagesdir attribute. fixes #5
17 lines
470 B
Bash
17 lines
470 B
Bash
rm -r result
|
|
../ASCIIsite.py --verbose --output result --exclude-file globignore test
|
|
#find the sha1sum of the output
|
|
cd result
|
|
result=$(find . -type f -print0 | xargs -0 -P0 -n1 md5sum | sort -k 2 | md5sum)
|
|
cd ../control
|
|
control=$(find . -type f -print0 | xargs -0 -P0 -n1 md5sum | sort -k 2 | md5sum)
|
|
cd ../
|
|
tree result
|
|
echo result sum is $result
|
|
echo control sum is $control
|
|
if [ "$result" = "$control" ]; then
|
|
echo test passed!
|
|
else
|
|
echo test did not pass!!!!!
|
|
fi
|