Files
coredesktop/smoketest/scenarios/20-noop-update.sh
T
david 2b85af286f
shellcheck / shellcheck (push) Failing after 17s
testing harness, coredesktop-dev
2026-11-04 09:39:46 -07:00

22 lines
646 B
Bash

#!/bin/bash
# shellcheck disable=SC2034
DESCRIPTION="update with nothing new to do installs nothing and changes nothing"
IMAGE=installed
TIER=pr
# smoketest_prepare has already updated the machine to the commit under test
scenario() {
fingerprint "$SMOKETEST_RESULTS/before.fingerprint"
cd_update
assert_status 0
assert_output "Done."
refute_output "Running migration"
# install_packages prints this only when it installs something
refute_output "Installing:"
fingerprint "$SMOKETEST_RESULTS/after.fingerprint"
assert_same_fingerprint "$SMOKETEST_RESULTS/before.fingerprint" "$SMOKETEST_RESULTS/after.fingerprint"
health
}