X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=run-tests.sh;fp=run-tests.sh;h=cf2d33e1ce5836437095d54233ed178bd316a6fd;hb=86e58607e734a5f8d7720f6c36aa50b043ae40b9;hp=0000000000000000000000000000000000000000;hpb=d29a3a7e4c562cc28a52c5d02a2e7da50d8253af;p=charm-bypass.git diff --git a/run-tests.sh b/run-tests.sh new file mode 100755 index 0000000..cf2d33e --- /dev/null +++ b/run-tests.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# +# html-tidy5 does not yet support the minlength attributes +# that we use on our daily security code inputs, +# +# https://github.com/htacg/tidy-html5/issues/1101 +# +# so we use sed to preprocess them out before calling tidy. +# +sed -e 's/minlength="[0-9]*"//g' index.html | tidy > /dev/null