Lines Matching refs:u_boot_console
18 def test_gpt_guid(u_boot_console): argument
21 if u_boot_console.config.buildconfig.get('config_cmd_gpt', 'n') != 'y':
24 u_boot_console.run_command('host bind 0 testdisk.raw')
25 output = u_boot_console.run_command('gpt guid host 0')
29 def test_gpt_save_guid(u_boot_console): argument
32 if u_boot_console.config.buildconfig.get('config_cmd_gpt', 'n') != 'y':
34 u_boot_console.run_command('host bind 0 testdisk.raw')
35 output = u_boot_console.run_command('gpt guid host 0 newguid')
36 output = u_boot_console.run_command('printenv newguid')
40 def test_gpt_rename_partition(u_boot_console): argument
43 if u_boot_console.config.buildconfig.get('config_cmd_gpt_rename', 'n') != 'y':
45 u_boot_console.run_command('host bind 0 testdisk.raw')
46 u_boot_console.run_command('gpt rename host 0 1 first')
47 output = u_boot_console.run_command('gpt read host 0')
49 u_boot_console.run_command('gpt rename host 0 2 second')
50 output = u_boot_console.run_command('gpt read host 0')
54 def test_gpt_swap_partitions(u_boot_console): argument
57 if u_boot_console.config.buildconfig.get('config_cmd_gpt_rename', 'n') != 'y':
59 if u_boot_console.config.buildconfig.get('config_cmd_part', 'n') != 'y':
61 u_boot_console.run_command('host bind 0 testdisk.raw')
62 output = u_boot_console.run_command('part list host 0')
65 u_boot_console.run_command('gpt swap host 0 first second')
66 output = u_boot_console.run_command('part list host 0')