Lines Matching full:test

15 def mips_run_common_commands(test, prompt='#'):  argument
16 exec_command_and_wait_for_pattern(test,
19 exec_command_and_wait_for_pattern(test,
22 wait_for_console_pattern(test, prompt)
23 exec_command_and_wait_for_pattern(test,
26 wait_for_console_pattern(test, prompt)
27 exec_command_and_wait_for_pattern(test,
30 wait_for_console_pattern(test, prompt)
31 exec_command_and_wait_for_pattern(test,
34 wait_for_console_pattern(test, prompt)
35 exec_command_and_wait_for_pattern(test,
38 wait_for_console_pattern(test, prompt)
39 exec_command_and_wait_for_pattern(test,
42 wait_for_console_pattern(test, prompt)
43 exec_command_and_wait_for_pattern(test,
46 wait_for_console_pattern(test, prompt)
47 exec_command_and_wait_for_pattern(test,
50 wait_for_console_pattern(test, prompt)
52 def mips_check_wheezy(test, kernel_path, image_path, kernel_command_line, argument
54 test.require_netdev('user')
55 test.require_device(nic)
56 test.set_machine('malta')
59 test.vm.add_args('-kernel', kernel_path,
67 test.vm.set_console()
68 test.vm.launch()
70 wait_for_console_pattern(test, 'login: ', 'Oops')
71 exec_command_and_wait_for_pattern(test, 'root', 'Password:')
72 exec_command_and_wait_for_pattern(test, 'root', ':~# ')
73 mips_run_common_commands(test)
75 exec_command_and_wait_for_pattern(test, 'cd /', '# ')
76 test.check_http_download(dl_file, hsum, port,
79 exec_command_and_wait_for_pattern(test, 'cat /proc/cpuinfo', cpuinfo)
80 exec_command_and_wait_for_pattern(test, 'cat /proc/devices', 'usb')
81 exec_command_and_wait_for_pattern(test, 'cat /proc/ioports',
83 exec_command_and_wait_for_pattern(test, 'lspci -d 11ab:4620',
85 exec_command_and_wait_for_pattern(test,
88 exec_command_and_wait_for_pattern(test, 'cat /proc/mtd', 'YAMON')
90 exec_command_and_wait_for_pattern(test, 'md5sum /dev/mtd2ro',
123 ('https://github.com/groeck/linux-build-test/raw/'