Compare commits

...
Author SHA1 Message Date
N0zoM1z0andKaoru0822 e389c5c399 test(pcap): expect the producer's final stdout newline
Match the capinfos stub's actual printf output in the retained-cleanup
regression. Keep raw output, partial observations, and cleanup assertions
unchanged so the test can reach the explicit recovery and release its owner.

Clean integrated main reproduces 19 passes and one failed assertion; the
one-line expectation correction passes all 20 cases on Linux. No production
behavior or test gate is changed.

Co-authored-by: Kaoru0822 <208281322+kaoru0822-kitauji@users.noreply.github.com>
2026-10-14 06:42:51 +00:00
+1 -1
View File
@@ -215,7 +215,7 @@ it.each(["capinfos", "tshark"] as const)(
reason: "injected retained cleanup failure",
previous_error: null,
captured_output: {
stdout: stage === "capinfos" ? CAPINFOS_OUTPUT : TSHARK_JSON,
stdout: stage === "capinfos" ? `${CAPINFOS_OUTPUT}\n` : TSHARK_JSON,
truncated: false,
},
});