From b4ab3b45d7aa7ea34cc0c61796bc503cd2336606 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Mon, 9 Dec 2024 20:00:22 +0200 Subject: [PATCH] docs(tvix/boot): update docstring 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 Tested-by: BuildkiteCI Autosubmit: flokli --- tvix/boot/tests/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tvix/boot/tests/default.nix b/tvix/boot/tests/default.nix index 974775720..64b2f7f52 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://"