Lines Matching +full:host +full:- +full:command
3 # SPDX-License-Identifier: GPL-2.0
19 """Test the gpt guid command."""
22 pytest.skip('gpt command not supported')
24 u_boot_console.run_command('host bind 0 testdisk.raw')
25 output = u_boot_console.run_command('gpt guid host 0')
26 assert '375a56f7-d6c9-4e81-b5f0-09d41ca89efe' in output
30 """Test the gpt guid command to save GUID into a string."""
33 pytest.skip('gpt command not supported')
34 u_boot_console.run_command('host bind 0 testdisk.raw')
35 output = u_boot_console.run_command('gpt guid host 0 newguid')
37 assert '375a56f7-d6c9-4e81-b5f0-09d41ca89efe' in output
41 """Test the gpt rename command to write partition names."""
44 pytest.skip('gpt rename command not supported')
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')
55 """Test the gpt swap command to exchange two partition names."""
58 pytest.skip('gpt rename command not supported')
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')