Artifact c91d4b44901e8a2313e794dd5fe5e0f52bf612de6170929cfddf9d030c605212:
- File
test/corpus/lintline/grown-1b89debaea4f
-
2026-11-15 18:38:39
— part of check-in
[c79fd94232]
on branch trunk
— The test for a write to a hook's input no longer trusts one tool
a-program-writing-to-its-input-fails asked /bin/echo whether its write to a read-only descriptor failed. On the forge's Linux runner echo reported success although nothing was written: the companion case, which checks that the next program reads the original bytes, passed there. The program now tries two writers, dd and /bin/echo, and the write counts as failed if either says so; a descriptor that took writes would let both succeed.
No product code changed.
1355 unit checks, 606 shell cases, 669 store cases, 756 placement cases and 378 project cases, under clang, under gcc 16, with no user name set, and under a strict umask, in one run of make gate (34 minutes). 100% coverage in all 25 source files. (user: dmestas, size: 53) [annotate] [blame] [check-ins using]
-
2026-11-16 14:13:46
— part of check-in
[db386ba414]
on branch trunk
— An upstream's attention item survives tend and goes when it is settled
Two faults in how upstream items were kept.
suit tend removes a wardrobe's items without naming a kind, and that matched the item of an upstream with the same name, so a pending update was forgotten until someone ran suit upstreams. A remove with no kind now leaves upstream items alone. The item's text is unchanged and files written before this read as before.
A machine that had taken an upstream kept its item after the update was accepted on another machine and synced here. After the working copy is updated, every upstream whose tip the tracked file upstreams/NAME records as accepted has its item removed; one still waiting keeps its item. With no upstream branch this costs one query.
26 new store cases: a wardrobe and an upstream of one name through take, tend and accept; a file in the old form; two machines; and the read, open and rename failures.
1473 unit checks, 620 shell cases, 994 store cases (was 968), 846 placement cases and 378 project cases, under clang, under gcc 16, with no user name set, and under a strict umask, in one run of make gate (43 minutes). 100% coverage in all 26 source files. No existing case was changed. (user: dmestas, size: 53) [annotate] [blame] [check-ins using]
-
2026-11-15 18:38:39
— part of check-in
[c79fd94232]
on branch trunk
— The test for a write to a hook's input no longer trusts one tool