This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user