[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 16/20] tests/ssh_linux_malta: Run tests using a snapshot image
From: |
Aleksandar Markovic |
Subject: |
[PULL 16/20] tests/ssh_linux_malta: Run tests using a snapshot image |
Date: |
Fri, 25 Oct 2019 18:44:18 +0200 |
From: Philippe Mathieu-Daudé <address@hidden>
If a test fails, it can corrupt the underlying QCow2 image,
making further tests failing.
Fix this by running each test with a snapshot.
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Aleksandar Markovic <address@hidden>
Reviewed-by: Aleksandar Markovic <address@hidden>
Message-Id: <address@hidden>
---
tests/acceptance/linux_ssh_mips_malta.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/acceptance/linux_ssh_mips_malta.py
b/tests/acceptance/linux_ssh_mips_malta.py
index 25a1df5..6ecf335 100644
--- a/tests/acceptance/linux_ssh_mips_malta.py
+++ b/tests/acceptance/linux_ssh_mips_malta.py
@@ -102,7 +102,7 @@ class LinuxSSH(Test):
self.vm.add_args('-no-reboot',
'-kernel', kernel_path,
'-append', kernel_command_line,
- '-hda', image_path,
+ '-drive', 'file=%s,snapshot=on' % image_path,
'-netdev', 'user,id=vnet,hostfwd=:127.0.0.1:0-:22',
'-device', 'pcnet,netdev=vnet')
self.vm.launch()
--
2.7.4
- [PULL 00/20] MIPS queue for October 24th, 2019 - v2, Aleksandar Markovic, 2019/10/25
- [PULL 01/20] target/mips: Clean up helper.c, Aleksandar Markovic, 2019/10/25
- [PULL 03/20] MAINTAINERS: Update mail address of Aleksandar Rikalo, Aleksandar Markovic, 2019/10/25
- [PULL 04/20] target/mips: msa: Split helpers for <MAX|MIN>_A.<B|H|W|D>, Aleksandar Markovic, 2019/10/25
- [PULL 10/20] target/mips: msa: Split helpers for PCK<EV|OD>.<B|H|W|D>, Aleksandar Markovic, 2019/10/25
- [PULL 07/20] target/mips: msa: Split helpers for ADD<_A|S_A|S_S|S_U|V>.<B|H|W|D>, Aleksandar Markovic, 2019/10/25
- [PULL 11/20] target/mips: msa: Split helpers for HSUB_<S|U>.<H|W|D>, Aleksandar Markovic, 2019/10/25
- [PULL 08/20] target/mips: msa: Split helpers for HADD_<S|U>.<H|W|D>, Aleksandar Markovic, 2019/10/25
- [PULL 13/20] target/mips: Demacro LMI decoder, Aleksandar Markovic, 2019/10/25
- [PULL 12/20] target/mips: msa: Split helpers for ASUB_<S|U>.<B|H|W|D>, Aleksandar Markovic, 2019/10/25
- [PULL 16/20] tests/ssh_linux_malta: Run tests using a snapshot image,
Aleksandar Markovic <=
- [PULL 05/20] target/mips: msa: Split helpers for <MAX|MIN>_<S|U>.<B|H|W|D>, Aleksandar Markovic, 2019/10/25
- [PULL 17/20] tests/ssh_linux_malta: Remove duplicated test, Aleksandar Markovic, 2019/10/25
- [PULL 18/20] tests/ssh_linux_malta: Match stricter console output, Aleksandar Markovic, 2019/10/25
- [PULL 09/20] target/mips: msa: Split helpers for S<LL|RA|RAR|RL|RLR>.<B|H|W|D>, Aleksandar Markovic, 2019/10/25
- [PULL 06/20] target/mips: msa: Split helpers for ILV<EV|OD|L|R>.<B|H|W|D>, Aleksandar Markovic, 2019/10/25
- [PULL 19/20] tests/ssh_linux_malta: Refactor how to get image/kernel info, Aleksandar Markovic, 2019/10/25
- [PULL 20/20] tests/ssh_linux_malta: Fix 64-bit target tests, Aleksandar Markovic, 2019/10/25
- [PULL 02/20] target/mips: Clean up op_helper.c, Aleksandar Markovic, 2019/10/25
- [PULL 15/20] target/mips: Refactor handling of vector compare 'less than' (signed) instructions, Aleksandar Markovic, 2019/10/25
- [PULL 14/20] target/mips: Refactor handling of vector compare 'equal' instructions, Aleksandar Markovic, 2019/10/25