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
@@ -0,0 +1,18 @@
#!/bin/bash
# shellcheck disable=SC2034
DESCRIPTION="update when CoreDesktop's repo can't be reached runs the hooks on disk and reports it"
IMAGE=installed
TIER=pr
scenario() {
assert_vm "take the upstream away" "sudo mv $UPSTREAM $UPSTREAM.away"
cd_update
assert_status 1
assert_output "could not pull the latest CoreDesktop"
assert_output "Done, with errors in: git pull"
assert_output "Updating Arch..."
assert_vm "bring it back" "sudo mv $UPSTREAM.away $UPSTREAM"
cd_update
assert_status 0
}