This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
# shellcheck disable=SC2034
|
||||
DESCRIPTION="install an older commit, update to the commit under test: same machine as a fresh install"
|
||||
IMAGE=base
|
||||
TIER=nightly
|
||||
mapfile -t VARIANTS < <(sed 's/#.*//' "$(dirname "${BASH_SOURCE[0]}")/../baselines" | awk 'NF { print $1 }')
|
||||
|
||||
scenario() {
|
||||
[ -f "$(reference_fingerprint)" ] \
|
||||
|| skip "needs the fingerprint 10-fresh-install saves; run both in the same run"
|
||||
|
||||
upstream_set "$VARIANT"
|
||||
cd_install
|
||||
assert_status 0
|
||||
vm_reboot
|
||||
|
||||
upstream_set "$SMOKETEST_REF"
|
||||
cd_update
|
||||
assert_status 0
|
||||
vm_reboot
|
||||
health
|
||||
|
||||
fingerprint "$SMOKETEST_RESULTS/updated.fingerprint"
|
||||
assert_same_fingerprint "$(reference_fingerprint)" "$SMOKETEST_RESULTS/updated.fingerprint"
|
||||
}
|
||||
Reference in New Issue
Block a user