d1e3f8bce2
Each file in .tests/mutations/ is one deliberate bug: what it breaks, why that matters, the assertion meant to catch it, and an OLD/NEW pair applied to a copy of the tree. A mutation is KILLED only when the suite fails AND the named assertion is among the failures — failing for an unrelated reason is reported as WRONG-TEST, because that is luck, and luck is lost the next time the unrelated test moves. A mutation whose OLD block no longer matches is STALE rather than quietly skipped. 19 reproduces the DU-C1 shape: a comment moved back inside the fzf line-continuation. It is killed by "dotup pick exits 0".
12 lines
387 B
Plaintext
12 lines
387 B
Plaintext
# what: the apt one-at-a-time retry, removed
|
|
# why: apt refuses the whole batch when one name is unusable; the retry is the difference between 34 installed and 0
|
|
# kills: …then btop on its own
|
|
# run: unit
|
|
<<<OLD
|
|
for p in $keep; do
|
|
run_sh "${SUDO:+$SUDO }DEBIAN_FRONTEND=noninteractive apt-get install -y $p" \
|
|
|| note_fail "$p" "apt install failed"
|
|
done
|
|
<<<NEW
|
|
<<<END
|