Skip to content

test: fail linux smoke on apt repair failure (TIN-1422) - #382

Merged
Jesssullivan merged 1 commit into
mainfrom
jess/linux-postinstall-package-hardening-tin-1422
May 19, 2026
Merged

test: fail linux smoke on apt repair failure (TIN-1422)#382
Jesssullivan merged 1 commit into
mainfrom
jess/linux-postinstall-package-hardening-tin-1422

Conversation

@Jesssullivan

Copy link
Copy Markdown
Owner

Summary

Hardens the Linux post-install smoke harness so the .deb fallback path fails immediately if apt-get install -f cannot repair dependencies after dpkg -i.

This keeps TIN-1422 package validation from silently continuing after a broken package dependency repair and surfacing later as a less useful daemon/binary failure.

Validation

  • bash scripts/test-linux-postinstall-smoke.sh
  • git diff --check

Notes

The fake-tool regression now stubs sudo, apt-get, and dpkg to force the direct apt install fallback and verify the repair failure is fatal.

@Jesssullivan
Jesssullivan marked this pull request as ready for review May 19, 2026 01:46
@Jesssullivan
Jesssullivan merged commit a0f9ada into main May 19, 2026
9 checks passed
@Jesssullivan
Jesssullivan deleted the jess/linux-postinstall-package-hardening-tin-1422 branch May 19, 2026 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant