From: Cleber Rosa <crosa@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>,
qemu-devel@nongnu.org, Eduardo Habkost <ehabkost@redhat.com>
Cc: "Fam Zheng" <fam@euphon.net>,
"Aleksandar Markovic" <amarkovic@wavecomp.com>,
"Aleksandar Rikalo" <arikalo@wavecomp.com>,
"Philippe Mathieu-Daudé" <philmd@redhat.com>,
"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
"Willian Rampazzo" <wrampazz@redhat.com>,
"Cleber Rosa" <crosa@redhat.com>,
"Alex Bennée" <alex.bennee@linaro.org>,
"Aurelien Jarno" <aurelien@aurel32.net>
Subject: [PULL 6/7] tests/acceptance: Add new test cases in linux_ssh_mips_malta.py
Date: Mon, 23 Sep 2019 09:40:18 -0400 [thread overview]
Message-ID: <20190923134019.8548-7-crosa@redhat.com> (raw)
In-Reply-To: <20190923134019.8548-1-crosa@redhat.com>
From: Aleksandar Markovic <amarkovic@wavecomp.com>
Add 15 new tests cases. They all rely on simple commands used for
detecting hardware configuration information.
Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Message-Id: <1564760158-27536-3-git-send-email-aleksandar.markovic@rt-rk.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
tests/acceptance/linux_ssh_mips_malta.py | 45 ++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/tests/acceptance/linux_ssh_mips_malta.py b/tests/acceptance/linux_ssh_mips_malta.py
index 7fc44f43d1..1d334432a0 100644
--- a/tests/acceptance/linux_ssh_mips_malta.py
+++ b/tests/acceptance/linux_ssh_mips_malta.py
@@ -154,6 +154,51 @@ class LinuxSSH(Test):
self.fail('"%s" output does not contain "%s"' % (cmd, exp))
def run_common_commands(self):
+ self.ssh_command_output_contains(
+ 'cat /proc/cpuinfo',
+ '24Kc')
+ self.ssh_command_output_contains(
+ 'uname -m',
+ 'mips')
+ self.ssh_command_output_contains(
+ 'uname -r',
+ '3.2.0-4-4kc-malta')
+ self.ssh_command_output_contains(
+ 'cat /proc/interrupts',
+ 'timer')
+ self.ssh_command_output_contains(
+ 'cat /proc/interrupts',
+ 'i8042')
+ self.ssh_command_output_contains(
+ 'cat /proc/interrupts',
+ 'serial')
+ self.ssh_command_output_contains(
+ 'cat /proc/interrupts',
+ 'ata_piix')
+ self.ssh_command_output_contains(
+ 'cat /proc/interrupts',
+ 'eth0')
+ self.ssh_command_output_contains(
+ 'cat /proc/interrupts',
+ 'eth0')
+ self.ssh_command_output_contains(
+ 'cat /proc/devices',
+ 'input')
+ self.ssh_command_output_contains(
+ 'cat /proc/devices',
+ 'usb')
+ self.ssh_command_output_contains(
+ 'cat /proc/devices',
+ 'fb')
+ self.ssh_command_output_contains(
+ 'cat /proc/ioports',
+ 'serial')
+ self.ssh_command_output_contains(
+ 'cat /proc/ioports',
+ 'ata_piix')
+ self.ssh_command_output_contains(
+ 'cat /proc/ioports',
+ 'piix4_smbus')
self.ssh_command_output_contains(
'lspci -d 11ab:4620',
'GT-64120')
--
2.21.0
next prev parent reply other threads:[~2019-09-23 13:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-23 13:40 [PULL 0/7] Python (acceptance tests) queue - 2019-09-23 Cleber Rosa
2019-09-23 13:40 ` [PULL 1/7] Acceptance test machine_m68k_nextcube.py: relax the error code pattern Cleber Rosa
2019-09-23 13:40 ` [PULL 2/7] Acceptance test x86_cpu_model_versions: shutdown VMs Cleber Rosa
2019-09-23 13:40 ` [PULL 3/7] Acceptance test x86_cpu_model_versions: fix mismatches between test and messages Cleber Rosa
2019-09-23 13:40 ` [PULL 4/7] Acceptance test x86_cpu_model_versions: split into smaller tests Cleber Rosa
2019-09-23 13:40 ` [PULL 5/7] tests/acceptance: Refactor and improve reporting in linux_ssh_mips_malta.py Cleber Rosa
2019-09-23 13:40 ` Cleber Rosa [this message]
2019-09-23 13:40 ` [PULL 7/7] Acceptance tests: use avocado.utils.ssh for SSH interaction Cleber Rosa
2019-09-23 19:54 ` [PULL 0/7] Python (acceptance tests) queue - 2019-09-23 no-reply
2019-09-24 1:26 ` no-reply
2019-09-24 8:10 ` no-reply
2019-09-24 12:49 ` Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190923134019.8548-7-crosa@redhat.com \
--to=crosa@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=amarkovic@wavecomp.com \
--cc=arikalo@wavecomp.com \
--cc=aurelien@aurel32.net \
--cc=ehabkost@redhat.com \
--cc=fam@euphon.net \
--cc=peter.maydell@linaro.org \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=wainersm@redhat.com \
--cc=wrampazz@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.