mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-12 08:00:05 +01:00
tests: adjust wait_for_text calls to work for systemd-initrd or old stage-1
This commit is contained in:
parent
d0d62973a0
commit
00a2e2c438
5 changed files with 5 additions and 5 deletions
|
|
@ -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 = {
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,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 = {
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,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")
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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 = {
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,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…
Add table
Add a link
Reference in a new issue