Test uncovered launch-dir refusals #4

Merged
benvin merged 1 commits from benvin/launch-dir-tests into main 2026-10-25 01:08:03 +11:00
Member

Several launch-dir protections can be deleted without any test failing, because existing cases are refused earlier by an overlapping rule.

  • add a default-root test that only the forbidden-roots check refuses
  • add a test refusing the dir holding the resolved allowed-paths file
  • add allowed-paths tests for dot-dir and $HOME-containing roots
  • add a launch test refusing a symlink whose resolved source contains :
Several launch-dir protections can be deleted without any test failing, because existing cases are refused earlier by an overlapping rule. - add a default-root test that only the forbidden-roots check refuses - add a test refusing the dir holding the resolved allowed-paths file - add allowed-paths tests for dot-dir and $HOME-containing roots - add a launch test refusing a symlink whose resolved source contains `:`
unkin-agent added 1 commit 2026-10-24 20:43:25 +11:00
Test launch-dir refusals not covered elsewhere
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
588ef2f8c2
benvin merged commit 757e1c069c into main 2026-10-25 01:08:03 +11:00
benvin deleted branch benvin/launch-dir-tests 2026-10-25 01:08:03 +11:00
Sign in to join this conversation.