comparison 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
comparison
equal deleted inserted replaced
25858:f8aead51aec0 25859:1619563959b3
60 60
61 $ cd .. 61 $ cd ..
62 62
63 Test corrupted p1/p2 fields that could cause SEGV at parsers.c: 63 Test corrupted p1/p2 fields that could cause SEGV at parsers.c:
64 64
65 #if no-pure
66
65 $ mkdir invalidparent 67 $ mkdir invalidparent
66 $ cd invalidparent 68 $ cd invalidparent
67 69
68 $ hg clone --pull -q --config phases.publish=False ../a limit 70 $ hg clone --pull -q --config phases.publish=False ../a limit
69 $ hg clone --pull -q --config phases.publish=False ../a segv 71 $ hg clone --pull -q --config phases.publish=False ../a segv
116 index_headrevs: parent out of range 118 index_headrevs: parent out of range
117 find_gca_candidates: parent out of range 119 find_gca_candidates: parent out of range
118 find_deepest: parent out of range 120 find_deepest: parent out of range
119 121
120 $ cd .. 122 $ cd ..
123
124 #endif