summaryrefslogtreecommitdiff
path: root/ekhtml/testsuite/test_crazypage.sh
diff options
context:
space:
mode:
authoradmin@progandy.co.cc <admin@progandy.co.cc@eced67a3-f377-a0ae-92ae-d6de1850b05a>2010-09-13 18:11:13 +0000
committeradmin@progandy.co.cc <admin@progandy.co.cc@eced67a3-f377-a0ae-92ae-d6de1850b05a>2010-09-13 18:11:13 +0000
commit376594ac1d65cbb31165f5a74775d624c3fd2981 (patch)
treeb1f9bf2ee2f1a82c5d9378c03cf09f72535c001d /ekhtml/testsuite/test_crazypage.sh
parent99ef7f1cfcaa4ead4b860faec88754abbe31ebfc (diff)
- added basic html conversion for receiving (maybe a bit too powerful)
- some bugfixes git-svn-id: http://mirotr.googlecode.com/svn/trunk@12 eced67a3-f377-a0ae-92ae-d6de1850b05a
Diffstat (limited to 'ekhtml/testsuite/test_crazypage.sh')
-rw-r--r--ekhtml/testsuite/test_crazypage.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/ekhtml/testsuite/test_crazypage.sh b/ekhtml/testsuite/test_crazypage.sh
new file mode 100644
index 0000000..adcd98c
--- /dev/null
+++ b/ekhtml/testsuite/test_crazypage.sh
@@ -0,0 +1,16 @@
+#! /bin/bash
+
+for ntags in 1 10 100 1000
+do
+ for bogus in 0 1
+ do
+ python gen_html.py $ntags $bogus > crazy.page
+ for bytesize in 1 13 162 983 8192
+ do
+ echo numElements=$ntags allowBogusTags=$bogus feedSize=$bytesize
+ ./tester $bytesize < crazy.page > ek.test
+ ./pyparser.py < crazy.page > py.test
+ diff -i -u ek.test py.test || exit 1
+ done
+ done
+done