aboutsummaryrefslogtreecommitdiff
path: root/scripts/full-test.sh
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-08-07 13:41:10 -0500
committerCraig Jennings <c@cjennings.net>2026-08-07 13:41:10 -0500
commit5b48bef697a6c98de9b1336ad5a36ad7341a639d (patch)
tree490b90f704148e29b4509af4218e629aa77d8419 /scripts/full-test.sh
parent14c08b4706a486ec080de606ccf1a7c2acd672b6 (diff)
downloadarchangel-5b48bef697a6c98de9b1336ad5a36ad7341a639d.tar.gz
archangel-5b48bef697a6c98de9b1336ad5a36ad7341a639d.zip
fix(test): clear the cached archzfs repo before the first scenarioHEADmain
archzfs re-uploads its GitHub Releases assets under the same filenames, so pacoloco can hold package bodies that no longer match what its archzfs.db advertises. Every ZFS scenario then dies at pacstrap with "invalid or corrupted package", which reads exactly like an installer regression. It went stale twice on 2026-08-06, the second time mid-run: fresh at scenario one, rotten by scenario six, and the ZFS half of the suite was lost. The whole directory goes, not the zfs-dkms and zfs-utils globs build.sh uses. Removing the bodies while leaving a stale db trades a checksum error for "Maximum file size exceeded", which is how the second failure passed itself off as a new bug. Removal needs root, so it degrades to a warning rather than failing the run. The path is injectable because the first version hardcoded it, and running the unit suite then invoked sudo rm -rf against the live cache. A shape check guards the override, since this is rm -rf under sudo and a mistyped path should cost a warning instead of the machine.
Diffstat (limited to 'scripts/full-test.sh')
0 files changed, 0 insertions, 0 deletions