mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 13:03:28 +01: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:
5 files changed
+5
-5
No files matched your search
+1
-1
@@ -20,7 +20,7 @@ makeDiskoTest {
|
||||
'';
|
||||
enableOCR = true;
|
||||
bootCommands = ''
|
||||
machine.wait_for_text("Passphrase for")
|
||||
machine.wait_for_text("[Pp]assphrase for")
|
||||
machine.send_chars("secretsecret\n")
|
||||
'';
|
||||
extraConfig = {
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ makeDiskoTest {
|
||||
'';
|
||||
enableOCR = true;
|
||||
bootCommands = ''
|
||||
machine.wait_for_text("Passphrase for")
|
||||
machine.wait_for_text("[Pp]assphrase for")
|
||||
machine.send_chars("secretsecret\n")
|
||||
'';
|
||||
extraConfig = {
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ makeDiskoTest {
|
||||
'';
|
||||
enableOCR = true;
|
||||
bootCommands = ''
|
||||
machine.wait_for_text("Passphrase for")
|
||||
machine.wait_for_text("[Pp]assphrase for")
|
||||
machine.send_chars("secretsecret\n")
|
||||
'';
|
||||
}
|
||||
+1
-1
@@ -20,7 +20,7 @@ makeDiskoTest {
|
||||
'';
|
||||
enableOCR = true;
|
||||
bootCommands = ''
|
||||
machine.wait_for_text("Passphrase for")
|
||||
machine.wait_for_text("[Pp]assphrase for")
|
||||
machine.send_chars("secretsecret\n")
|
||||
'';
|
||||
extraConfig = {
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ makeDiskoTest {
|
||||
'';
|
||||
enableOCR = true;
|
||||
bootCommands = ''
|
||||
machine.wait_for_text("passphrase for")
|
||||
machine.wait_for_text("(?:passphrase|key) for")
|
||||
machine.send_chars("secretsecret\n")
|
||||
'';
|
||||
extraTestScript = ''
|
||||
|
||||
Reference in new issue
Block a user