tests: change passphrase to secretsecret

this is needed for zfs
This commit is contained in:
lassulus 2022-12-26 17:43:39 +01:00
parent f665b6b34d
commit a3e511d3c8
5 changed files with 5 additions and 5 deletions

View File

@ -20,7 +20,7 @@ makeDiskoTest {
enableOCR = true; enableOCR = true;
bootCommands = '' bootCommands = ''
machine.wait_for_text("Passphrase for") machine.wait_for_text("Passphrase for")
machine.send_chars("secret\n") machine.send_chars("secretsecret\n")
''; '';
extraConfig = { extraConfig = {
boot.kernelModules = [ "dm-raid" "dm-mirror" ]; boot.kernelModules = [ "dm-raid" "dm-mirror" ];

View File

@ -19,7 +19,7 @@ makeDiskoTest {
enableOCR = true; enableOCR = true;
bootCommands = '' bootCommands = ''
machine.wait_for_text("Passphrase for") machine.wait_for_text("Passphrase for")
machine.send_chars("secret\n") machine.send_chars("secretsecret\n")
''; '';
extraConfig = { extraConfig = {
boot.kernelModules = [ "dm-raid" "dm-mirror" ]; boot.kernelModules = [ "dm-raid" "dm-mirror" ];

View File

@ -123,7 +123,7 @@
return machine return machine
machine.start() machine.start()
machine.succeed("echo -n 'secret' > /tmp/secret.key") machine.succeed("echo -n 'secretsecret' > /tmp/secret.key")
${lib.optionalString (testMode == "direct") '' ${lib.optionalString (testMode == "direct") ''
machine.succeed("${tsp-create}") machine.succeed("${tsp-create}")
machine.succeed("${tsp-mount}") machine.succeed("${tsp-mount}")

View File

@ -10,6 +10,6 @@ makeDiskoTest {
enableOCR = true; enableOCR = true;
bootCommands = '' bootCommands = ''
machine.wait_for_text("Passphrase for") machine.wait_for_text("Passphrase for")
machine.send_chars("secret\n") machine.send_chars("secretsecret\n")
''; '';
} }

View File

@ -20,7 +20,7 @@ makeDiskoTest {
enableOCR = true; enableOCR = true;
bootCommands = '' bootCommands = ''
machine.wait_for_text("Passphrase for") machine.wait_for_text("Passphrase for")
machine.send_chars("secret\n") machine.send_chars("secretsecret\n")
''; '';
extraConfig = { extraConfig = {
boot.kernelModules = [ "dm-raid" "dm-mirror" ]; boot.kernelModules = [ "dm-raid" "dm-mirror" ];