summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/ekhtml/testsuite/test_crazypage.sh
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-05-19 18:01:32 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-05-19 18:01:32 +0000
commitb1509f22892dc98057c750e7fae39ded5cea3b09 (patch)
tree6bdcc9379ae86339a67022b758575729d1304074 /plugins/MirOTR/ekhtml/testsuite/test_crazypage.sh
parente7a776a6f5ab323cd9dd824e815846ef268fa7f1 (diff)
added MirOTR
git-svn-id: http://svn.miranda-ng.org/main/trunk@83 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirOTR/ekhtml/testsuite/test_crazypage.sh')
-rw-r--r--plugins/MirOTR/ekhtml/testsuite/test_crazypage.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/MirOTR/ekhtml/testsuite/test_crazypage.sh b/plugins/MirOTR/ekhtml/testsuite/test_crazypage.sh
new file mode 100644
index 0000000000..adcd98c97f
--- /dev/null
+++ b/plugins/MirOTR/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