Files
coredesktop/smoketest/scenarios/20-noop-update.sh
T
david 5ed3df55e3
shellcheck / shellcheck (push) Failing after 14s
further checks
2026-11-04 10:05:50 -07:00

22 lines
648 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
}