mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
Merge #154
154: tests: adjust wait_for_text calls to work for systemd-initrd or old stage-1 r=Mic92 a=lilyinstarlight Co-authored-by: Lily Foster <lily@lily.flowers>
This commit is contained in:
commit
07f9727ce6
5 changed files with 5 additions and 5 deletions
|
@ -20,7 +20,7 @@ makeDiskoTest {
|
||||||
'';
|
'';
|
||||||
enableOCR = true;
|
enableOCR = true;
|
||||||
bootCommands = ''
|
bootCommands = ''
|
||||||
machine.wait_for_text("Passphrase for")
|
machine.wait_for_text("[Pp]assphrase for")
|
||||||
machine.send_chars("secretsecret\n")
|
machine.send_chars("secretsecret\n")
|
||||||
'';
|
'';
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
|
|
|
@ -19,7 +19,7 @@ makeDiskoTest {
|
||||||
'';
|
'';
|
||||||
enableOCR = true;
|
enableOCR = true;
|
||||||
bootCommands = ''
|
bootCommands = ''
|
||||||
machine.wait_for_text("Passphrase for")
|
machine.wait_for_text("[Pp]assphrase for")
|
||||||
machine.send_chars("secretsecret\n")
|
machine.send_chars("secretsecret\n")
|
||||||
'';
|
'';
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
|
|
|
@ -10,7 +10,7 @@ makeDiskoTest {
|
||||||
'';
|
'';
|
||||||
enableOCR = true;
|
enableOCR = true;
|
||||||
bootCommands = ''
|
bootCommands = ''
|
||||||
machine.wait_for_text("Passphrase for")
|
machine.wait_for_text("[Pp]assphrase for")
|
||||||
machine.send_chars("secretsecret\n")
|
machine.send_chars("secretsecret\n")
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ makeDiskoTest {
|
||||||
'';
|
'';
|
||||||
enableOCR = true;
|
enableOCR = true;
|
||||||
bootCommands = ''
|
bootCommands = ''
|
||||||
machine.wait_for_text("Passphrase for")
|
machine.wait_for_text("[Pp]assphrase for")
|
||||||
machine.send_chars("secretsecret\n")
|
machine.send_chars("secretsecret\n")
|
||||||
'';
|
'';
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
|
|
|
@ -13,7 +13,7 @@ makeDiskoTest {
|
||||||
'';
|
'';
|
||||||
enableOCR = true;
|
enableOCR = true;
|
||||||
bootCommands = ''
|
bootCommands = ''
|
||||||
machine.wait_for_text("passphrase for")
|
machine.wait_for_text("(?:passphrase|key) for")
|
||||||
machine.send_chars("secretsecret\n")
|
machine.send_chars("secretsecret\n")
|
||||||
'';
|
'';
|
||||||
extraTestScript = ''
|
extraTestScript = ''
|
||||||
|
|
Loading…
Reference in a new issue