From 3e6ff515045a5072bf823a60ca1a873f546d1fb7 Mon Sep 17 00:00:00 2001 From: zinc Date: Thu, 15 Oct 2026 00:41:08 +0330 Subject: 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) --- tests/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.3