Home
last modified time | relevance | path

Searched refs:run_command (Results 1 – 25 of 92) sorted by relevance

1234

/openbmc/u-boot/test/py/tests/
H A Dtest_tpm2.py32 output = u_boot_console.run_command('tpm2 init')
34 u_boot_console.run_command('echo --- start of init ---')
35 u_boot_console.run_command('tpm2 startup TPM2_SU_CLEAR')
36 u_boot_console.run_command('tpm2 self_test full')
37 u_boot_console.run_command('tpm2 clear TPM2_RH_LOCKOUT')
38 output = u_boot_console.run_command('echo $?')
40 u_boot_console.run_command('tpm2 clear TPM2_RH_PLATFORM')
41 u_boot_console.run_command('echo --- end of init ---')
47 u_boot_console.run_command('tpm2 init')
48 output = u_boot_console.run_command('echo $?')
[all …]
H A Dtest_bind.py29 response = u_boot_console.run_command('bind /bind-test generic_simple_bus')
31 tree = u_boot_console.run_command('dm tree')
37 response = u_boot_console.run_command('unbind /bind-test/bind-test-child1')
39 tree = u_boot_console.run_command('dm tree')
45 response = u_boot_console.run_command('bind /bind-test/bind-test-child1 phy_sandbox')
47 tree = u_boot_console.run_command('dm tree')
53 response = u_boot_console.run_command('unbind /bind-test/bind-test-child2')
55 tree = u_boot_console.run_command('dm tree')
62 response = u_boot_console.run_command('bind /bind-test/bind-test-child2 generic_simple_bus')
64 tree = u_boot_console.run_command('dm tree')
[all …]
H A Dtest_fpga.py90 output = u_boot_console.run_command('tftpboot %x %s' % (addr, bit))
103 output = u_boot_console.run_command('fpga broken 0')
110 output = u_boot_console.run_command('fpga')
134 output = u_boot_console.run_command('fpga info 0 0')
145 u_boot_console.run_command('setenv fpga')
146 output = u_boot_console.run_command('fpga info')
153 output = u_boot_console.run_command('fpga info %x' % (dev))
163 u_boot_console.run_command('setenv fpga %x' % (dev))
165 output = u_boot_console.run_command('fpga info')
167 u_boot_console.run_command('setenv fpga')
[all …]
H A Dtest_gpt.py78 u_boot_console.run_command('host bind 0 ' + state_disk_image.path)
79 output = u_boot_console.run_command('gpt read host 0')
84 output = u_boot_console.run_command('part list host 0')
94 u_boot_console.run_command('host bind 0 ' + state_disk_image.path)
95 output = u_boot_console.run_command('gpt verify host 0')
104 u_boot_console.run_command('host bind 0 ' + state_disk_image.path)
105 output = u_boot_console.run_command('gpt guid host 0')
116 u_boot_console.run_command('host bind 0 ' + state_disk_image.path)
117 output = u_boot_console.run_command('gpt guid host 0 newguid')
118 output = u_boot_console.run_command('printenv newguid')
[all …]
H A Dtest_efi_selftest.py17 u_boot_console.run_command(cmd='setenv efi_selftest')
18 u_boot_console.run_command(cmd='bootefi selftest ${fdtcontroladdr}', wait_for_prompt=False)
22 u_boot_console.run_command(cmd='', wait_for_echo=False, wait_for_prompt=False);
31 u_boot_console.run_command(cmd='setenv efi_selftest list')
32 output = u_boot_console.run_command('bootefi selftest')
34 u_boot_console.run_command(cmd='setenv efi_selftest device tree')
35 u_boot_console.run_command(cmd='setenv -f serial# Testing DT')
36 u_boot_console.run_command(cmd='bootefi selftest ${fdtcontroladdr}', wait_for_prompt=False)
44 u_boot_console.run_command(cmd='setenv efi_selftest list')
45 output = u_boot_console.run_command('bootefi selftest')
[all …]
H A Dtest_shell_basics.py13 response = u_boot_console.run_command('echo hello')
20 response = u_boot_console.run_command(cmd)
30 response = u_boot_console.run_command(cmd)
32 u_boot_console.run_command('setenv list')
37 u_boot_console.run_command('setenv foo "setenv monty 1; setenv python 2"')
38 u_boot_console.run_command('run foo')
39 response = u_boot_console.run_command('echo $monty')
41 response = u_boot_console.run_command('echo $python')
43 u_boot_console.run_command('setenv foo')
44 u_boot_console.run_command('setenv monty')
[all …]
H A Dtest_avb.py33 response = u_boot_console.run_command('avb init %s' %str(mmc_dev))
35 response = u_boot_console.run_command('avb verify')
45 response = u_boot_console.run_command('avb init %s' % str(mmc_dev))
48 response = u_boot_console.run_command('mmc rescan; mmc dev %s' %
52 part_lines = u_boot_console.run_command('mmc part').splitlines()
68 avb_guid_resp = u_boot_console.run_command('avb get_uuid %s' % part)
77 response = u_boot_console.run_command('avb init %s' % str(mmc_dev))
80 response = u_boot_console.run_command('avb read_rb 1')
89 response = u_boot_console.run_command('avb init %s' % str(mmc_dev))
92 response = u_boot_console.run_command('avb is_unlocked')
[all …]
H A Dtest_efi_loader.py63 u_boot_console.run_command('usb start')
67 u_boot_console.run_command('pci enum')
81 u_boot_console.run_command('setenv autoload no')
82 output = u_boot_console.run_command('dhcp')
101 u_boot_console.run_command('setenv %s %s' % (var, val))
124 output = u_boot_console.run_command('tftpboot %x %s' % (addr, fn))
138 output = u_boot_console.run_command('crc32 %x $filesize' % addr)
153 output = u_boot_console.run_command('bootefi %x' % addr)
167 output = u_boot_console.run_command('bootefi hello')
181 u_boot_console.run_command('bootefi %x' % addr, wait_for_prompt=False)
[all …]
H A Dtest_net.py71 u_boot_console.run_command('usb start')
75 u_boot_console.run_command('pci enum')
89 u_boot_console.run_command('setenv autoload no')
90 output = u_boot_console.run_command('dhcp')
109 u_boot_console.run_command('setenv %s %s' % (var, val))
126 output = u_boot_console.run_command('ping $serverip')
151 output = u_boot_console.run_command('tftpboot %s' % (fn))
153 output = u_boot_console.run_command('tftpboot %x %s' % (addr, fn))
167 output = u_boot_console.run_command('crc32 $fileaddr $filesize')
193 output = u_boot_console.run_command('nfs %x %s' % (addr, fn))
[all …]
H A Dtest_pinmux.py10 output = u_boot_console.run_command('pinmux')
17 output = u_boot_console.run_command('pinmux status')
24 output = u_boot_console.run_command('pinmux status -a')
35 output = u_boot_console.run_command('pinmux list')
43 output = u_boot_console.run_command('pinmux dev ' + pincontroller)
52 output = u_boot_console.run_command('pinmux dev ' + pincontroller)
61 output = u_boot_console.run_command('pinmux status')
H A Dtest_md.py17 u_boot_console.run_command('mw ' + addr + ' 0 10')
18 response = u_boot_console.run_command('md ' + addr + ' 10')
20 u_boot_console.run_command('mw ' + addr + ' ' + val)
21 response = u_boot_console.run_command('md ' + addr + ' 10')
33 u_boot_console.run_command('md %s %x' % (addr_base, words))
34 response = u_boot_console.run_command('')
H A Dtest_env.py45 response = self.u_boot_console.run_command('printenv')
47 response = self.u_boot_console.run_command('printenv')
109 state_test_env.u_boot_console.run_command('setenv %s' % var)
136 state_test_env.u_boot_console.run_command(
150 response = state_test_env.u_boot_console.run_command('echo $%s' % var)
166 response = state_test_env.u_boot_console.run_command('printenv %s' % var)
189 response = c.run_command('printenv %s' % var)
254 response = c.run_command('env import -c %s -' % addr)
267 response = c.run_command('env import -c %s - foo1 foo2 foo4' % addr)
282 c.run_command('env export %s' % addr)
[all …]
H A Dtest_mmc_rd.py92 response = u_boot_console.run_command(cmd)
105 u_boot_console.run_command(cmd)
108 response = u_boot_console.run_command(cmd)
116 response = u_boot_console.run_command(cmd)
125 response = u_boot_console.run_command(cmd)
H A Dtest_sf.py72 output = u_boot_console.run_command(cmd)
125 u_boot_console.run_command(cmd)
131 response = u_boot_console.run_command(cmd)
158 u_boot_console.run_command(cmd)
162 u_boot_console.run_command(cmd)
199 output = u_boot_console.run_command(cmd)
203 u_boot_console.run_command(cmd)
H A Dtest_log.py43 output = u_boot_console.run_command('log test %d' % testnum)
117 output = cons.run_command('log format %s' % fmt)
119 output = cons.run_command('log rec arch notice file.c 123 func msg')
125 output = cons.run_command('log format')
H A Dtest_hush_if_test.py110 response = u_boot_console.run_command(cmd)
116 u_boot_console.run_command('setenv ut_var_nonexistent')
117 u_boot_console.run_command('setenv ut_var_exists 1')
129 u_boot_console.run_command('setenv ut_var_exists')
/openbmc/u-boot/test/
H A Dcommand_ut.c17 run_command("env default -f -a", 0); in do_ut_cmd()
28 run_command("setenv list", 0); in do_ut_cmd()
40 assert(run_command("false", 0) == 1); in do_ut_cmd()
41 assert(run_command("echo", 0) == 0); in do_ut_cmd()
46 run_command("setenv foo 'setenv black 1\nsetenv adder 2'", 0); in do_ut_cmd()
47 run_command("run foo", 0); in do_ut_cmd()
54 assert(run_command("", 0) == 0); in do_ut_cmd()
55 assert(run_command(" ", 0) == 0); in do_ut_cmd()
57 assert(run_command("'", 0) == 1); in do_ut_cmd()
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dtinfoil.py55 … return self.tinfoil.run_command('dataStoreConnectorVarHistCmd', self.dsindex, cmd, args, kwargs)
58 …ret = self.tinfoil.run_command('dataStoreConnectorVarHistCmdEmit', self.dsindex, var, oval, val, d…
75 … return self.tinfoil.run_command('dataStoreConnectorIncHistCmd', self.dsindex, cmd, args, kwargs)
99 ret = self.tinfoil.run_command('dataStoreConnectorCmd', self.dsindex, cmd, args, kwargs)
113 keys = self.tinfoil.run_command('dataStoreConnectorCmd', self.dsindex, "keys", [], {})
134 return self.tinfoil.run_command('getAllAppends', self.mc)
146 pkg_pn = defaultdict(list, self.tinfoil.run_command('getRecipes', self.mc) or [])
165 … attrvalue = defaultdict(list, self.tinfoil.run_command('getRecipeDepends', self.mc) or [])
167 …attrvalue = defaultdict(lambda: defaultdict(list), self.tinfoil.run_command('getRuntimeDepends', s…
169 …attrvalue = defaultdict(lambda: defaultdict(list), self.tinfoil.run_command('getRuntimeRecommends'…
[all …]
/openbmc/u-boot/test/py/tests/test_fs/
H A Dtest_mkdir.py28 output = u_boot_console.run_command(
45 output = u_boot_console.run_command(
98 output = u_boot_console.run_command(
101 output = u_boot_console.run_command('%sls host 0:0 dir6' % fs_type)
105 output = u_boot_console.run_command(
110 output = u_boot_console.run_command(
H A Dtest_unlink.py29 output = u_boot_console.run_command(
40 output = u_boot_console.run_command('host bind 0 %s' % fs_img)
48 output = u_boot_console.run_command(
74 output = u_boot_console.run_command(
H A Dtest_ext.py88 output = u_boot_console.run_command(
120 output = u_boot_console.run_command(
152 output = u_boot_console.run_command(
176 output = u_boot_console.run_command(
208 output = u_boot_console.run_command(
/openbmc/openbmc/poky/meta/lib/oeqa/core/target/
H A Dserial.py92 output = conn.run_command(cmd, timeout)
93 status = conn.run_command("echo $?")
102 conn.run_command('cd "$HOME"')
131 conn.run_command(f'echo -n "" > {TEMP}')
134 conn.run_command(f'echo -n {line} >> {TEMP}')
137 is_directory = conn.run_command(f'[[ -d {remoteDst} ]]; echo $?')
142 conn.run_command(f'base32 -d {TEMP} > {remoteDst}')
143 conn.run_command(f'rm {TEMP}')
157 b32 = self.get_connection().run_command(f'base32 {remoteSrc}')
268 self.run_command('stty -echo')
[all …]
/openbmc/telemetry/subprojects/packagefiles/boost/
H A Dmeson.build6 r = run_command('[', '!', '-d', build_dir, ']', check: false)
8 r = run_command('./bootstrap.sh', '--with-libraries=coroutine', check: true)
9 r = run_command('./b2', 'install', '--prefix=build', check: true)
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-gimp/gimp/gimp/
H A D0002-meson.build-reproducibility-fix.patch22 - cc_cmd = run_command(cc, '-v', check: false)
24 +# cc_cmd = run_command(cc, '-v', check: false)
38 - cc_cmd = run_command(cc, arg, check: false)
45 +# cc_cmd = run_command(cc, arg, check: false)
/openbmc/qemu/docs/
H A Dmeson.build13 sphinx_version = run_command(SPHINX_ARGS + ['--version'],
20 jobs = run_command(nproc, check: true).stdout()
28 run_command('mkdir', ['-p', tmpdir / 'sphinx'], check: true)
29 run_command('touch', [tmpdir / 'sphinx/index.rst'], check: true)
30 sphinx_build_test_out = run_command(SPHINX_ARGS + [

1234