aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar zinc <zinc@downsta.ir> 2026-10-15 00:41:08 +0330
committerGravatar zinc <zinc@downsta.ir> 2026-10-15 00:41:08 +0330
commit3e6ff515045a5072bf823a60ca1a873f546d1fb7 (patch)
tree97596e3ec7880ccce2e8b5f3fea4cbf36a593b47 /tests
parentxref: baseline re-saved; the drop helpers (drop_attach, drop_member, drop_cal... (diff)
test.sh: the small map's collector check rewrites gc.zc's reclaim bound whatever its number (it was 990 when the sed was written, gc.zc says 950 now, so the small map was held to the default map's count)
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.sh b/tests/test.sh
index bd731ed..a3370f2 100755
--- a/tests/test.sh
+++ b/tests/test.sh
@@ -347,7 +347,7 @@ s_small() {
# code literals can look like pointers on a compact map. test collection and
# the retained root without assuming the default map's exact reclaim count.
for vm in $T/zyms $T/zys; do
- out=$(sed 's/f >= 990/f > 0/' tests/programs/gc.zc | $vm | tr '\n' '/')
+ out=$(sed -E 's/f >= [0-9]+/f > 0/' tests/programs/gc.zc | $vm | tr '\n' '/')
chk "$out" "1000 1 900 1 199900/" "small collector makes progress and preserves its root"
done