[v2,09/11] tests/ssh_linux_malta: Match stricter console output
diff mbox series

Message ID 20191019153437.9820-10-f4bug@amsat.org
State New
Headers show
Series
  • tests/acceptance: Fix 64-bit MIPS target tests
Related show

Commit Message

Philippe Mathieu-Daudé Oct. 19, 2019, 3:34 p.m. UTC
Match on stricter console output.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 tests/acceptance/linux_ssh_mips_malta.py | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Comments

Aleksandar Markovic Oct. 19, 2019, 3:50 p.m. UTC | #1
On Saturday, October 19, 2019, Philippe Mathieu-Daudé <f4bug@amsat.org>
wrote:

> Match on stricter console output.
>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
>  tests/acceptance/linux_ssh_mips_malta.py | 18 +++++++++---------
>  1 file changed, 9 insertions(+), 9 deletions(-)
>
>
Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>


> diff --git a/tests/acceptance/linux_ssh_mips_malta.py
> b/tests/acceptance/linux_ssh_mips_malta.py
> index 5523ae2144..822b0553ff 100644
> --- a/tests/acceptance/linux_ssh_mips_malta.py
> +++ b/tests/acceptance/linux_ssh_mips_malta.py
> @@ -127,19 +127,19 @@ class LinuxSSH(Test):
>              '3.2.0-4-4kc-malta')
>          self.ssh_command_output_contains(
>              'cat /proc/interrupts',
> -            'timer')
> +            'XT-PIC  timer')
>          self.ssh_command_output_contains(
>              'cat /proc/interrupts',
> -            'i8042')
> +            'XT-PIC  i8042')
>          self.ssh_command_output_contains(
>              'cat /proc/interrupts',
> -            'serial')
> +            'XT-PIC  serial')
>          self.ssh_command_output_contains(
>              'cat /proc/interrupts',
> -            'ata_piix')
> +            'XT-PIC  ata_piix')
>          self.ssh_command_output_contains(
>              'cat /proc/interrupts',
> -            'eth0')
> +            'XT-PIC  eth0')
>          self.ssh_command_output_contains(
>              'cat /proc/devices',
>              'input')
> @@ -151,13 +151,13 @@ class LinuxSSH(Test):
>              'fb')
>          self.ssh_command_output_contains(
>              'cat /proc/ioports',
> -            'serial')
> +            ' : serial')
>          self.ssh_command_output_contains(
>              'cat /proc/ioports',
> -            'ata_piix')
> +            ' : ata_piix')
>          self.ssh_command_output_contains(
>              'cat /proc/ioports',
> -            'piix4_smbus')
> +            ' : piix4_smbus')
>          self.ssh_command_output_contains(
>              'lspci -d 11ab:4620',
>              'GT-64120')
> @@ -167,7 +167,7 @@ class LinuxSSH(Test):
>          self.ssh_command_output_contains(
>              'cat /proc/mtd',
>              'YAMON')
> -        # Empty 'Board Config'
> +        # Empty 'Board Config' (64KB)
>          self.ssh_command_output_contains(
>              'md5sum /dev/mtd2ro',
>              '0dfbe8aa4c20b52e1b8bf3cb6cbdf193')
> --
> 2.21.0
>
>
>

Patch
diff mbox series

diff --git a/tests/acceptance/linux_ssh_mips_malta.py b/tests/acceptance/linux_ssh_mips_malta.py
index 5523ae2144..822b0553ff 100644
--- a/tests/acceptance/linux_ssh_mips_malta.py
+++ b/tests/acceptance/linux_ssh_mips_malta.py
@@ -127,19 +127,19 @@  class LinuxSSH(Test):
             '3.2.0-4-4kc-malta')
         self.ssh_command_output_contains(
             'cat /proc/interrupts',
-            'timer')
+            'XT-PIC  timer')
         self.ssh_command_output_contains(
             'cat /proc/interrupts',
-            'i8042')
+            'XT-PIC  i8042')
         self.ssh_command_output_contains(
             'cat /proc/interrupts',
-            'serial')
+            'XT-PIC  serial')
         self.ssh_command_output_contains(
             'cat /proc/interrupts',
-            'ata_piix')
+            'XT-PIC  ata_piix')
         self.ssh_command_output_contains(
             'cat /proc/interrupts',
-            'eth0')
+            'XT-PIC  eth0')
         self.ssh_command_output_contains(
             'cat /proc/devices',
             'input')
@@ -151,13 +151,13 @@  class LinuxSSH(Test):
             'fb')
         self.ssh_command_output_contains(
             'cat /proc/ioports',
-            'serial')
+            ' : serial')
         self.ssh_command_output_contains(
             'cat /proc/ioports',
-            'ata_piix')
+            ' : ata_piix')
         self.ssh_command_output_contains(
             'cat /proc/ioports',
-            'piix4_smbus')
+            ' : piix4_smbus')
         self.ssh_command_output_contains(
             'lspci -d 11ab:4620',
             'GT-64120')
@@ -167,7 +167,7 @@  class LinuxSSH(Test):
         self.ssh_command_output_contains(
             'cat /proc/mtd',
             'YAMON')
-        # Empty 'Board Config'
+        # Empty 'Board Config' (64KB)
         self.ssh_command_output_contains(
             'md5sum /dev/mtd2ro',
             '0dfbe8aa4c20b52e1b8bf3cb6cbdf193')