summaryrefslogtreecommitdiff
path: root/ekhtml/testsuite/test_basic.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ekhtml/testsuite/test_basic.sh')
-rw-r--r--ekhtml/testsuite/test_basic.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/ekhtml/testsuite/test_basic.sh b/ekhtml/testsuite/test_basic.sh
new file mode 100644
index 0000000..87d2e64
--- /dev/null
+++ b/ekhtml/testsuite/test_basic.sh
@@ -0,0 +1,10 @@
+#! /bin/bash
+
+for i in `find tstpages -type f | sort`
+do
+ echo Testing page: $i
+ ./tester 1 < $i > ek.test
+ ./pyparser.py $i > py.test
+ diff -a -i -u ek.test py.test || exit 1
+done
+