Skip to content

Commit 07f6e41

Browse files
authored
Merge pull request #1250 from c-po/test-bash-history
Testsuite: T9021: answer question during test for bash_history migration
2 parents 51ee73e + 0bafe7f commit 07f6e41

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

scripts/check-qemu-install

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,6 +731,7 @@ def _image_update_cli_sequence(c, log, new_image_name, server_bind_host='127.0.0
731731
'Would you like to set the new image as the default one for boot',
732732
'An active configuration was found. Would you like to copy it to the new image',
733733
'Would you like to copy SSH host keys',
734+
'Would you like to copy Bash history',
734735
'Would you like to save the SSH known hosts (fingerprints)',
735736
'Signature is not available. Do you want to continue with installation',
736737
'There are unsaved changes to the configuration',
@@ -755,9 +756,11 @@ def _image_update_cli_sequence(c, log, new_image_name, server_bind_host='127.0.0
755756
c.sendline('y')
756757
elif i == 7:
757758
c.sendline('y')
758-
elif i == 8 or i == 9:
759+
elif i == 8:
760+
c.sendline('y')
761+
elif i == 9 or i == 10:
759762
raise Exception('add system image reported an error')
760-
elif i == 10:
763+
elif i == 11:
761764
log.info('add system image completed')
762765
break
763766

0 commit comments

Comments
 (0)