#!/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." # One migration's line, not install.sh's "Running migrations..." heading 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 }