From 14cbc951c4c5ca36ccfe6d4709166955a119cd34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20R=C5=AF=C5=BEi=C4=8Dka?= Date: Fri, 15 Jul 2022 10:16:09 +0200 Subject: [PATCH] Add prints and commands to see the VM situation. --- templates.fif.json | 3 --- tests/applications/software/repositories.pm | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/templates.fif.json b/templates.fif.json index 1ddc2ec1..bf4193a6 100644 --- a/templates.fif.json +++ b/templates.fif.json @@ -1247,9 +1247,6 @@ "BOOTFROM": "c", "HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2", "POSTINSTALL_PATH": "tests/applications/weather", -======= - "POSTINSTALL_PATH": "tests/applications/software", ->>>>>>> e0a281f8 (Create a test suite for Gnome Software.) "START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%" } }, diff --git a/tests/applications/software/repositories.pm b/tests/applications/software/repositories.pm index 76d9ce7a..b095fc7c 100644 --- a/tests/applications/software/repositories.pm +++ b/tests/applications/software/repositories.pm @@ -89,7 +89,9 @@ sub run { my $version = "fedora"; if (get_var('VERSION') eq "Rawhide") { $version = "rawhide"; + diag("VERSION: $version"); } + script_run("dnf repolist"); unless (script_run("dnf repolist | grep $version-modular")) { die("The Modular repository is not switched off, but should be."); }