From 0bafe7f7838ff4108cbfd5282de573dd0f73d454 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Thu, 23 Jul 2026 17:56:30 +0200 Subject: Testsuite: T9021: answer question during test for bash_history migration --- scripts/check-qemu-install | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install index 684f135f..8d705674 100755 --- a/scripts/check-qemu-install +++ b/scripts/check-qemu-install @@ -731,6 +731,7 @@ def _image_update_cli_sequence(c, log, new_image_name, server_bind_host='127.0.0 'Would you like to set the new image as the default one for boot', 'An active configuration was found. Would you like to copy it to the new image', 'Would you like to copy SSH host keys', + 'Would you like to copy Bash history', 'Would you like to save the SSH known hosts (fingerprints)', 'Signature is not available. Do you want to continue with installation', '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 c.sendline('y') elif i == 7: c.sendline('y') - elif i == 8 or i == 9: + elif i == 8: + c.sendline('y') + elif i == 9 or i == 10: raise Exception('add system image reported an error') - elif i == 10: + elif i == 11: log.info('add system image completed') break -- cgit v1.2.3