From: Mark Wooding Date: Fri, 6 Sep 2024 19:43:09 +0000 (+0100) Subject: soak: Don't bother capturing the node sequence number. X-Git-Tag: 0.99.0~105 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/xyla/commitdiff_plain/db2520d3ba471941b556a415dc8929cbdbe48330 soak: Don't bother capturing the node sequence number. --- diff --git a/soak b/soak index dcbba76..a00358e 100755 --- a/soak +++ b/soak @@ -318,9 +318,9 @@ while nsteps is None or STEP < nsteps: if line == "(nil)": if k in ST.cur.coll: fail("key %d unexpectedly missing" % k) else: - m = RX.match(r"^#", line) + m = RX.match(r"^#", line) if m: - kk = int(m.group(2)) + kk = int(m.group(1)) if kk != k: fail("search for key %d found %d instead" % (k, kk)) elif k not in ST.cur.coll: fail("key %d unexpectedly found" % k) else: