From 7a37b476348243f861c09213765282c370bc7980 Mon Sep 17 00:00:00 2001 From: lassulus Date: Fri, 21 Jul 2023 14:25:51 +0200 Subject: [PATCH] lib makeDiskoTest: create -> format --- lib/tests.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tests.nix b/lib/tests.nix index 959e389..f2edcbf 100644 --- a/lib/tests.nix +++ b/lib/tests.nix @@ -73,7 +73,7 @@ let testConfigBooted = testlib.prepareDiskoConfig diskoConfigWithArgs devices; tsp-generator = pkgs.callPackage ../. { checked = true; }; - tsp-create = (tsp-generator.createScript testConfigInstall) pkgs; + tsp-format = (tsp-generator.formatScript testConfigInstall) pkgs; tsp-mount = (tsp-generator.mountScript testConfigInstall) pkgs; tsp-disko = (tsp-generator.diskoScript testConfigInstall) pkgs; tsp-config = tsp-generator.config testConfigBooted; @@ -202,7 +202,7 @@ let machine.succeed("echo -n 'secretsecret' > /tmp/secret.key") ${lib.optionalString (testMode == "direct") '' # running direct mode - machine.succeed("${tsp-create}") + machine.succeed("${tsp-format}") machine.succeed("${tsp-mount}") machine.succeed("${tsp-mount}") # verify that the command is idempotent machine.succeed("${tsp-disko}") # verify that we can destroy and recreate