test(suppression): assert the Rosetta block lookup status

This commit is contained in:
2026-10-30 03:56:33 -03:00
parent 7ca3d4f2d4
commit 993db74118
+2 -1
View File
@@ -13,7 +13,8 @@
suppress_enrollment "$2"
' "$script" "$script" "$target"
[ "$status" -eq 0 ]
! grep -q 'configuration[.]apple[.]com' "$target/private/etc/hosts"
run grep -q 'configuration[.]apple[.]com' "$target/private/etc/hosts"
[ "$status" -eq 1 ]
grep -q '^127.0.0.1 localhost$' "$target/private/etc/hosts"
done
}