|
13 | 13 | # ├── examples/ |
14 | 14 | # │ ├── compose.caddy.yml (empty placeholder, accepted overlay) |
15 | 15 | # │ ├── compose.observability.yml (empty placeholder, accepted overlay) |
16 | | -# │ ├── compose.traefik.yml (empty placeholder, accepted overlay) |
17 | | -# │ └── compose.bugsink.yml (empty placeholder, DROPPED overlay — |
18 | | -# │ present only to prove the allow-list |
19 | | -# │ rejects it even when the file exists) |
| 16 | +# │ └── compose.traefik.yml (empty placeholder, accepted overlay) |
20 | 17 | # └── .env ← mode 0600, optional seed content |
21 | 18 | # |
22 | 19 | # Both helpers `cd "$(dirname "$0")/.."` to the repo root before |
@@ -66,14 +63,11 @@ setup_fake_repo() { |
66 | 63 | cp "$REAL_BIN/compose-file.sh" "$BATS_TEST_TMPDIR/bin/compose-file.sh" |
67 | 64 | chmod +x "$BATS_TEST_TMPDIR/bin/"*.sh |
68 | 65 |
|
69 | | - # Touch the three overlay files compose-file.sh accepts, plus a bugsink |
70 | | - # file representing the deliberately-dropped overlay (so a test can prove |
71 | | - # it is rejected by the allow-list even though the file exists). Empty |
72 | | - # content is fine — the script only stats these, never reads them. |
| 66 | + # Touch the three overlay files compose-file.sh accepts. Empty content is |
| 67 | + # fine — the script only stats these, never reads them. |
73 | 68 | : > "$BATS_TEST_TMPDIR/examples/compose.caddy.yml" |
74 | 69 | : > "$BATS_TEST_TMPDIR/examples/compose.observability.yml" |
75 | 70 | : > "$BATS_TEST_TMPDIR/examples/compose.traefik.yml" |
76 | | - : > "$BATS_TEST_TMPDIR/examples/compose.bugsink.yml" |
77 | 71 |
|
78 | 72 | # Seed .env. umask 077 ensures the file is born at 0600 even before |
79 | 73 | # the explicit chmod below — mirrors init.sh. |
|
0 commit comments