diff options
author | Florian Klink <flokli@flokli.de> | 2024-12-09T18·00+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-12-09T22·11+0000 |
commit | b4ab3b45d7aa7ea34cc0c61796bc503cd2336606 (patch) | |
tree | b6bd520a61dfaf1377951ed32f563170eefe2031 /tvix | |
parent | 12c9db5a9a481782c82c18408923c9a5e707933b (diff) |
docs(tvix/boot): update docstring r/8992
mkBootTest is not limited to only listing files, it can also be used (is used) to boot init. Change-Id: Iaa0d2b5bad3be856aa8a0172450efe166620ba41 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12882 Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com> Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix')
-rw-r--r-- | tvix/boot/tests/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tvix/boot/tests/default.nix b/tvix/boot/tests/default.nix index 97477572078e..64b2f7f52282 100644 --- a/tvix/boot/tests/default.nix +++ b/tvix/boot/tests/default.nix @@ -1,9 +1,10 @@ { depot, pkgs, lib, ... }: let - # Seed a tvix-store with the tvix docs, then start a VM, ask it to list all - # files in /nix/store, and ensure the store path is present, which acts as a - # nice smoketest. + # Seed a tvix-store with the specified path, then start a VM with the + # tvix-boot initrd. + # Allows customizing the cmdline, which can be used to list files, + # or specify what init should be booted. mkBootTest = { blobServiceAddr ? "memory://" , directoryServiceAddr ? "memory://" |