diff tests/test-parseindex.t @ 25859:1619563959b3 stable

tests: disable test of buffer overflow in parsers.c if --pure It fails with AttributeError and there's no benefit to make it runnable with pure Python code.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 19 Jul 2015 15:27:28 +0900
parents 82d6a35cf432
children c8d41c9c23c7
line wrap: on
line diff
--- a/tests/test-parseindex.t	Sun Jul 19 18:11:18 2015 +0200
+++ b/tests/test-parseindex.t	Sun Jul 19 15:27:28 2015 +0900
@@ -62,6 +62,8 @@
 
 Test corrupted p1/p2 fields that could cause SEGV at parsers.c:
 
+#if no-pure
+
   $ mkdir invalidparent
   $ cd invalidparent
 
@@ -118,3 +120,5 @@
   find_deepest: parent out of range
 
   $ cd ..
+
+#endif