chiark
/
gitweb
/
~mdw
/
xyla
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
577d50c
)
soak: Don't bother capturing the node sequence number.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 6 Sep 2024 19:43:09 +0000
(20:43 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 6 Sep 2024 19:43:09 +0000
(20:43 +0100)
soak
patch
|
blob
|
blame
|
history
diff --git
a/soak
b/soak
index dcbba76ddf6ec7ad6c59462632f748993504b4d0..a00358e7a2f616a93daa8344eccf8d298a9906f8 100755
(executable)
--- 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"^#<node #0x
([0-9a-f]{8})
(\d+)>", line)
+ m = RX.match(r"^#<node #0x
[0-9a-f]{8}
(\d+)>", 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: