Repository navigation
test: land semantic-edge regression suites (test/shift/arith) - #927
Conversation
GNU ownership: test.c posixtest/two_arguments/three_arguments/expr (valid_number general.c:248-281; -t test.c:499-535), builtins/shift.def + builtins/common.c get_numeric_arg/no_args, arithmetic expansion subst.c: parameter/assoc subscript literal keys. No impl change; pins only, all byte-verified against bash 5.3.20 (WSL 5.3.0 re-check by main session): - src/builtins/test_tests.rs: T1 010-decimal, T2 0x->2/08-ok, T3 empty->2, T4 overflow->2, T5 -t x4, T6 single-arg string, T7 !-negation, T8 paren traps, T9 -a>-o, T10 combo, arity 0..6, -t/-v complement (12 tests) - tests/shift_count_edge_regressions.rs: S1..S7 (7 tests) - tests/arith_cache_fallback_regressions.rs: A1..A7, set -u last (7 tests) lib 651 green; new integration 14/14 green; cargo fmt clean.
|
Post-merge review (merge base What checks out
Finding: no discriminating power against master The review bar requires at least one "red on master, green on branch" proof. All three additions were run against the merge base (
Nothing in this PR fails on its own merge base, so it cannot demonstrate it would catch any regression — it is a characterization suite throughout. Same request as for #926: if any case was expected to be red on some earlier revision, note which; otherwise mark the intent as characterization. Side note for triage (pre-existing on master, unrelated to this PR but it blocks local runs): Verdict: content safe (test-only, no new red), but the required discrimination proof is absent. |
26 probes, all bash-measured: test_tests +12 (octal/empty/overflow/-t/unary/parens/precedence/arity), new shift_count_edge (7: OOB/silent/negative/nonnumeric/--/isolation), new arith_cache_fallback (7: RANDOM/assoc-concat/nounset/literal-keys/octal). lib 651 + 14 integration green. WSL 5.3.0 re-verify deferred to main.