doc clean
This commit is contained in:
1 parent
c2a7f94821
commit
30427e3975
34 files changed
+1119
-1758
No files matched your search
+2
-15
@@ -1,21 +1,8 @@
|
||||
#!/usr/bin/env nu
|
||||
#
|
||||
# runvmtest-debug — build a guest-config VM test's interactive driver and
|
||||
# drop into it, instead of just running it for pass/fail (see runvmtest).
|
||||
#
|
||||
# Opens a Python (ptpython) REPL with the test's node defined but not yet
|
||||
# started. Useful from there:
|
||||
# start_all()
|
||||
# machine.wait_for_unit("multi-user.target")
|
||||
# machine.shell_interact() # live shell inside the guest, over the console
|
||||
# machine.succeed("...") # run any assertion from the guest-vm tests by hand
|
||||
#
|
||||
# Same --impure requirement as runvmtest, same reason (guest/common.nix
|
||||
# reads /etc/hermenix/local.nix if present). Not run for you automatically
|
||||
# — needs a real build, which agents in this repo don't run.
|
||||
# Interactive driver REPL for a guest VM check. Same --impure as runvmtest.
|
||||
|
||||
def main [
|
||||
suite?: string # which check to debug: guest-vm-unbridged (default), guest-vm-bridged, or migrate-connections-vm
|
||||
suite?: string # guest-vm-unbridged (default) | guest-vm-bridged | migrate-connections-vm
|
||||
] {
|
||||
let check = $suite | default "guest-vm-unbridged"
|
||||
let attr = $".#checks.x86_64-linux.($check).driverInteractive"
|
||||
|
||||
Reference in new issue
Block a user