#!/usr/bin/env nu # # runvmtest — build and run the guest-config VM test (guest/vm-test.nix). # # Plain pass/fail: the build fails if any testScript assertion fails. For # stepping through it interactively instead, use runvmtest-debug. # # --impure is required because guest/common.nix reads # /etc/hermenix/local.nix if present, same as the real hermes-guest-image # build — a pre-existing property of common.nix, not something this test # introduces. # # Not run for you automatically: this needs a real build, which agents in # this repo don't run (see GUIDELINES.md). You (or CI) run this by hand. def main [] { ^nix build ".#checks.x86_64-linux.guest-vm" --impure -L }