[virt-manager PATCH 3/3] tests: add Mageia 5 detection test

Pino Toscano ptoscano at redhat.com
Wed Aug 26 10:44:56 UTC 2020


Signed-off-by: Pino Toscano <ptoscano at redhat.com>
---
 tests/data/urldetect/mageia/5/VERSION | 1 +
 tests/test_urldetect.py               | 1 +
 2 files changed, 2 insertions(+)
 create mode 100644 tests/data/urldetect/mageia/5/VERSION

diff --git a/tests/data/urldetect/mageia/5/VERSION b/tests/data/urldetect/mageia/5/VERSION
new file mode 100644
index 00000000..6985e21f
--- /dev/null
+++ b/tests/data/urldetect/mageia/5/VERSION
@@ -0,0 +1 @@
+Mageia 5 Official-x86_64-Download 20180807 23:39
diff --git a/tests/test_urldetect.py b/tests/test_urldetect.py
index 71e5e1a8..2472523e 100644
--- a/tests/test_urldetect.py
+++ b/tests/test_urldetect.py
@@ -130,6 +130,7 @@ def test_suse():
 
 
 def test_mageia():
+    _test("mageia/5", "mageia5", initrd="all.rdz")
     _test("mageia/8", initrd="all.rdz")
 
 
-- 
2.26.2




More information about the virt-tools-list mailing list