Lines Matching +full:test +full:- +full:part1
1 # SPDX-License-Identifier: GPL-2.0
5 # Test GPT manipulation commands.
13 the test.
23 u_boot_console: A U-Boot console.
43 cmd = ('sgdisk', '-U', '375a56f7-d6c9-4e81-b5f0-09d41ca89efe',
46 # part1 offset 1MB size 1MB
47 cmd = ('sgdisk', '--new=1:2048:4095', '-c 1:part1', persistent)
50 cmd = ('sgdisk', '--new=2:4096:7167', '-c 2:part2', persistent)
52 cmd = ('sgdisk', '-l', persistent)
62 This is function-scoped because it uses u_boot_console, which is also
63 function-scoped. However, we don't need to actually do any function-scope
76 """Test the gpt read command."""
81 assert 'Block size 512, name part1' in output
85 assert '0x00000800 0x00000fff "part1"' in output
92 """Test the gpt verify command."""
102 """Test the gpt guid command."""
106 assert '375a56f7-d6c9-4e81-b5f0-09d41ca89efe' in output
112 """Test the gpt guid command to save GUID into a string."""
119 assert '375a56f7-d6c9-4e81-b5f0-09d41ca89efe' in output
127 """Test the gpt rename command to write partition names."""
146 """Test the gpt swap command to exchange two partition names."""
162 """Test the gpt write command."""
169 …output = u_boot_console.run_command('gpt write host 0 "uuid_disk=375a56f7-d6c9-4e81-b5f0-09d41ca89…
175 assert '375a56f7-d6c9-4e81-b5f0-09d41ca89efe' in output