image-tools: T6207: update test script for prompt for boot config

This commit is contained in:
John Estabrook 2024-04-07 22:41:42 -05:00
parent 0c12b79fd8
commit 4a8bc369ef

View File

@ -347,6 +347,8 @@ try:
c.sendline('y') c.sendline('y')
c.expect('\nInstallation will delete all data on both drives. Continue?.*') c.expect('\nInstallation will delete all data on both drives. Continue?.*')
c.sendline('y') c.sendline('y')
c.expect('\nWhich file would you like as boot config?.*')
c.sendline('')
else: else:
c.expect('\nWhich one should be used for installation?.*') c.expect('\nWhich one should be used for installation?.*')
c.sendline('') c.sendline('')
@ -354,6 +356,8 @@ try:
c.sendline('y') c.sendline('y')
c.expect('\nWould you like to use all the free space on the drive?.*') c.expect('\nWould you like to use all the free space on the drive?.*')
c.sendline('y') c.sendline('y')
c.expect('\nWhich file would you like as boot config?.*')
c.sendline('')
log.info('system installed, shutting down') log.info('system installed, shutting down')