summaryrefslogtreecommitdiff
path: root/tests/test-patch-bazzite-deck-identity.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-patch-bazzite-deck-identity.sh')
-rwxr-xr-xtests/test-patch-bazzite-deck-identity.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/test-patch-bazzite-deck-identity.sh b/tests/test-patch-bazzite-deck-identity.sh
index cbe4382..0b0586c 100755
--- a/tests/test-patch-bazzite-deck-identity.sh
+++ b/tests/test-patch-bazzite-deck-identity.sh
@@ -43,10 +43,6 @@ assert_count 1 "${deck_condition}" "${steam}"
assert_count 3 "${deck_condition}" "${user_setup}"
assert_count 1 'AeroCore Steam state migration' "${steam}"
assert_count 1 'AeroCore Return to Gaming Mode shortcut migration' "${user_setup}"
-if [[ "$(grep -nF 'AeroCore Return to Gaming Mode shortcut migration' "${user_setup}" | cut -d: -f1)" -ge "$(grep -nF '# Run script if updated' "${user_setup}" | cut -d: -f1)" ]]; then
- echo "Return to Gaming Mode migration must run before the user setup early-exit guard" >&2
- exit 1
-fi
# A second run must recognize the patched fixture and make no further changes.
first_digest="$(sha256sum "${hardware_setup}" "${steam}" "${user_setup}")"