summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxi <xi@18f92427-320e-0410-9341-c67f048884a3>2007-03-22 16:12:36 +0000
committerxi <xi@18f92427-320e-0410-9341-c67f048884a3>2007-03-22 16:12:36 +0000
commita316841d5fbcd81e1d94526c793d3590e44ab3ab (patch)
tree9e818a17ea5a98c206995c359b0dcff2a81053f6
parent5ff18ec8d621088d79c0db207ceb64d04b630a8d (diff)
downloadpyyaml-a316841d5fbcd81e1d94526c793d3590e44ab3ab.tar.gz
Add the tests for checking the libyaml bug.
git-svn-id: http://svn.pyyaml.org/pyyaml/trunk@247 18f92427-320e-0410-9341-c67f048884a3
-rw-r--r--tests/data/a-nasty-libyaml-bug.loader-error1
-rw-r--r--tests/data/run-parser-crash-bug.data8
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/data/a-nasty-libyaml-bug.loader-error b/tests/data/a-nasty-libyaml-bug.loader-error
new file mode 100644
index 0000000..f97d49f
--- /dev/null
+++ b/tests/data/a-nasty-libyaml-bug.loader-error
@@ -0,0 +1 @@
+[ [ \ No newline at end of file
diff --git a/tests/data/run-parser-crash-bug.data b/tests/data/run-parser-crash-bug.data
new file mode 100644
index 0000000..fe01734
--- /dev/null
+++ b/tests/data/run-parser-crash-bug.data
@@ -0,0 +1,8 @@
+---
+- Harry Potter and the Prisoner of Azkaban
+- Harry Potter and the Goblet of Fire
+- Harry Potter and the Order of the Phoenix
+---
+- Memoirs Found in a Bathtub
+- Snow Crash
+- Ghost World