aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/test_build_aur.bats11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/unit/test_build_aur.bats b/tests/unit/test_build_aur.bats
index 4da66fe..360f2b7 100644
--- a/tests/unit/test_build_aur.bats
+++ b/tests/unit/test_build_aur.bats
@@ -15,12 +15,12 @@ setup() {
# aur_v1_packages — single source of truth for the v1 build set
#############################
-@test "aur_v1_packages lists the nine audited v1 packages" {
+@test "aur_v1_packages lists the eight audited v1 packages" {
run aur_v1_packages
[ "$status" -eq 0 ]
- [ "$(echo "$output" | wc -l)" -eq 9 ]
+ [ "$(echo "$output" | wc -l)" -eq 8 ]
for pkg in downgrade yay informant zrepl pacman-cleanup-hook \
- sanoid zfs-auto-snapshot topgrade ventoy-bin; do
+ zfs-auto-snapshot topgrade ventoy-bin; do
[[ "$output" == *"$pkg"* ]]
done
}
@@ -28,9 +28,12 @@ setup() {
@test "aur_v1_packages excludes the vNext-deferred packages" {
run aur_v1_packages
[ "$status" -eq 0 ]
- # paru (second helper) and mkinitcpio-firmware (AUR-of-AUR deps) are vNext
+ # paru (second helper), mkinitcpio-firmware, and sanoid all pull AUR-of-AUR
+ # deps (sanoid needs perl-config-inifiles, AUR-only) — deferred to the
+ # vNext helper-driven dependency-resolution work.
[[ "$output" != *"paru"* ]]
[[ "$output" != *"mkinitcpio-firmware"* ]]
+ [[ "$output" != *"sanoid"* ]]
}
@test "aur_v1_packages emits one package per line" {