@@ -2,7 +2,7 @@
|
||||
# shellcheck disable=SC2034
|
||||
DESCRIPTION="a release that changes update and adds a hook: the new update and hook run in the same update"
|
||||
IMAGE=installed
|
||||
TIER=pr
|
||||
TIER="pr"
|
||||
|
||||
scenario() {
|
||||
upstream_commit "Change update and add a hook" '
|
||||
@@ -14,6 +14,6 @@ scenario() {
|
||||
assert_status 0
|
||||
assert_output "smoketest: the new update ran"
|
||||
assert_vm "the new hook ran" 'test -f ~/smoketest-hook-ran'
|
||||
assert_vm "~/.local/bin/update is the new one" \
|
||||
assert_vm "the update in ~/.local/bin is the new one" \
|
||||
'cmp ~/.local/bin/update ~/.local/share/coredesktop/update'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user