Home
last modified time | relevance | path

Searched refs:expect (Results 1 – 12 of 12) sorted by relevance

/test/py/tests/
A Dtest_efi_selftest.py19 if ubman.p.expect(['Summary: 0 failures', 'Press any key']):
42 if ubman.p.expect(['serial-number:', 'U-Boot']):
59 if ubman.p.expect(['resetting', 'U-Boot']):
73 if ubman.p.expect([r'To terminate type \'x\'']):
85 if ubman.p.expect([r'Unicode char 8 \(BS\), scan code 0 \(Null\)']):
109 if ubman.p.expect([r'Unicode char 8364 \(\'']):
114 if ubman.p.expect(['Summary: 0 failures', 'Press any key']):
128 if ubman.p.expect([r'To terminate type \'CTRL\+x\'']):
164 if ubman.p.expect([r'Unicode char 8364 \(\'']):
176 if ubman.p.expect(['Summary: 0 failures', 'Press any key']):
[all …]
A Dtest_distro.py19 ubman.p.expect(['Try or Install Ubuntu'])
26 ubman.p.expect(['/casper/initrd'])
51 ubman.p.expect(['Booting a command list'])
55 ubman.p.expect(['Linux version'])
59 ubman.p.expect(['Welcome to .*Ubuntu 24.04.1 LTS.*!'])
A Dtest_eficonfig.py95 ubman.p.expect([i])
120 ubman.p.expect([i])
125 ubman.p.expect([i])
143 ubman.p.expect([i])
185 ubman.p.expect([i])
234 ubman.p.expect([i])
246 ubman.p.expect([i])
268 ubman.p.expect([i])
273 ubman.p.expect([i])
294 ubman.p.expect([i])
[all …]
A Dtest_bootmenu.py21 ubman.p.expect([i])
26 ubman.p.expect(['autoboot'])
32 ubman.p.expect(['autoboot'])
38 ubman.p.expect(['autoboot'])
A Dtest_event_dump.py16 expect = '''.*Event type Id Source location
25 assert re.match(expect, out, re.MULTILINE) is not None
A Dtest_sandbox_exit.py30 m = ubman.p.expect(['resetting ...', 'U-Boot'])
33 m = ubman.p.expect(['U-Boot', '=>'])
A Dtest_net_boot.py350 expected_str = ubman.p.expect([exp_str_local])
361 expected_str = ubman.p.expect([exp_str_empty])
421 expected_str = ubman.p.expect([exp_str_invalid])
A Dtest_saveenv.py64 output = ubman.p.expect(['not defined'])
A Dtest_env.py564 expect = '#define CONFIG_EXTRA_ENV_TEXT "%s"\n' % expect_val
565 assert result == expect
/test/dm/
A Drtc.c39 static int cmp_times(struct rtc_time *expect, struct rtc_time *time, bool show) in cmp_times() argument
43 same = expect->tm_sec == time->tm_sec; in cmp_times()
44 same &= expect->tm_min == time->tm_min; in cmp_times()
45 same &= expect->tm_hour == time->tm_hour; in cmp_times()
46 same &= expect->tm_mday == time->tm_mday; in cmp_times()
47 same &= expect->tm_mon == time->tm_mon; in cmp_times()
48 same &= expect->tm_year == time->tm_year; in cmp_times()
50 show_time("expected", expect); in cmp_times()
/test/py/
A Dconsole_base.py215 m = self.p.expect([pattern_u_boot_spl_signon,
226 m = self.p.expect([pattern_u_boot_main_signon,
236 m = self.p.expect([self.prompt_compiled, pattern_ready_prompt,
324 m = self.p.expect([chunk] + self.bad_patterns)
334 m = self.p.expect([self.prompt_compiled] + self.bad_patterns)
415 m = self.p.expect([text] + self.bad_patterns)
452 self.p.expect(['This should never match U-Boot output'])
A Dspawn.py240 def expect(self, patterns): member in Spawn

Completed in 23 milliseconds