20 lines
562 B
Bash
20 lines
562 B
Bash
#!/bin/bash
|
|
# shellcheck disable=SC2034
|
|
DESCRIPTION="install.sh on a fresh Arch + GNOME machine; saves the reference fingerprint"
|
|
IMAGE=base
|
|
TIER="nightly"
|
|
|
|
scenario() {
|
|
cd_install
|
|
assert_status 0
|
|
assert_vm "install.sh left no local changes in the checkout" \
|
|
'[ -z "$(git -C ~/.local/share/coredesktop status --porcelain --untracked-files=no)" ]'
|
|
|
|
# The README says to reboot after installing
|
|
vm_reboot
|
|
health
|
|
|
|
fingerprint "$SMOKETEST_RESULTS/installed.fingerprint"
|
|
cp "$SMOKETEST_RESULTS/installed.fingerprint" "$(reference_fingerprint)"
|
|
}
|