testing harness, coredesktop-dev
shellcheck / shellcheck (push) Failing after 17s

This commit is contained in:
2026-11-04 09:39:46 -07:00
parent c3ac9f49d0
commit 2b85af286f
21 changed files with 1073 additions and 4 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/bin/bash
# shellcheck disable=SC2034
DESCRIPTION="update doesn't reinstall a package or Flatpak listed in skip-packages"
IMAGE=installed
TIER=pr
scenario() {
assert_vm "remove Zoom and LibreOffice, and skip them" '
set -e
sudo flatpak uninstall --system --noninteractive us.zoom.Zoom
sudo pacman -Rns --noconfirm libreoffice-fresh
mkdir -p ~/.config/coredesktop
printf "%s\n" us.zoom.Zoom libreoffice-fresh >> ~/.config/coredesktop/skip-packages'
cd_update
assert_status 0
refute_vm "Zoom is still gone" 'flatpak info --system us.zoom.Zoom'
refute_vm "LibreOffice is still gone" 'pacman -Qi libreoffice-fresh'
}