From: Michael Orlitzky Date: Wed, 8 Nov 2023 23:29:49 +0000 (-0500) Subject: run-tests.sh: new minimal test suite X-Git-Url: http://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=86e58607e734a5f8d7720f6c36aa50b043ae40b9;p=charm-bypass.git run-tests.sh: new minimal test suite --- 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