]> gitweb.michael.orlitzky.com - charm-bypass.git/blobdiff - run-tests.sh
run-tests.sh: new minimal test suite
[charm-bypass.git] / run-tests.sh
diff --git a/run-tests.sh b/run-tests.sh
new file mode 100755 (executable)
index 0000000..cf2d33e
--- /dev/null
@@ -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