[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 7/9] tests/acceptance: add record/replay test for m68k
From: |
Pavel Dovgalyuk |
Subject: |
[PATCH 7/9] tests/acceptance: add record/replay test for m68k |
Date: |
Mon, 25 May 2020 14:19:41 +0300 |
User-agent: |
StGit/0.17.1-dirty |
This patch adds a test for record/replay of the kernel
image boot for m68k platform.
Signed-off-by: Pavel Dovgalyuk <address@hidden>
---
tests/acceptance/replay_kernel.py | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/tests/acceptance/replay_kernel.py
b/tests/acceptance/replay_kernel.py
index 9931f87bd5..4c786b1565 100644
--- a/tests/acceptance/replay_kernel.py
+++ b/tests/acceptance/replay_kernel.py
@@ -173,3 +173,21 @@ class ReplayKernel(Test):
kernel_command_line = self.KERNEL_COMMON_COMMAND_LINE + 'console=hvc0'
console_pattern = 'Kernel command line: %s' % kernel_command_line
self.run_rr(kernel_path, kernel_command_line, console_pattern)
+
+ def test_m68k_q800(self):
+ """
+ :avocado: tags=arch:m68k
+ :avocado: tags=machine:q800
+ """
+ deb_url = ('https://snapshot.debian.org/archive/debian-ports'
+ '/20191021T083923Z/pool-m68k/main'
+ '/l/linux/kernel-image-5.3.0-1-m68k-di_5.3.7-1_m68k.udeb')
+ deb_hash = '044954bb9be4160a3ce81f8bc1b5e856b75cccd1'
+ deb_path = self.fetch_asset(deb_url, asset_hash=deb_hash)
+ kernel_path = self.extract_from_deb(deb_path,
+ '/boot/vmlinux-5.3.0-1-m68k')
+
+ kernel_command_line = (self.KERNEL_COMMON_COMMAND_LINE +
+ 'console=ttyS0 vga=off')
+ console_pattern = 'No filesystem could mount root'
+ self.run_rr(kernel_path, kernel_command_line, console_pattern)
- [PATCH 0/9] Record/replay acceptance tests, Pavel Dovgalyuk, 2020/05/25
- [PATCH 1/9] tests/acceptance: allow console interaction with specific VMs, Pavel Dovgalyuk, 2020/05/25
- [PATCH 2/9] tests/acceptance: add base class record/replay kernel tests, Pavel Dovgalyuk, 2020/05/25
- [PATCH 3/9] tests/acceptance: add kernel record/replay test for x86_64, Pavel Dovgalyuk, 2020/05/25
- [PATCH 4/9] tests/acceptance: add record/replay test for aarch64, Pavel Dovgalyuk, 2020/05/25
- [PATCH 5/9] tests/acceptance: add record/replay test for arm, Pavel Dovgalyuk, 2020/05/25
- [PATCH 6/9] tests/acceptance: add record/replay test for ppc64, Pavel Dovgalyuk, 2020/05/25
- [PATCH 7/9] tests/acceptance: add record/replay test for m68k,
Pavel Dovgalyuk <=
- [PATCH 8/9] tests/acceptance: record/replay tests with advcal images, Pavel Dovgalyuk, 2020/05/25
- [PATCH 9/9] tests/acceptance: Linux boot test for record/replay, Pavel Dovgalyuk, 2020/05/25
- Re: [PATCH 0/9] Record/replay acceptance tests, no-reply, 2020/05/25