From ed6e8203771322edf56dc36a3fd55cec84f0c8af Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Mon, 5 Feb 2024 10:44:55 +0100 Subject: [PATCH] Resolves: RHEL-9468 - update tests --- gating.yaml | 2 +- perl-CPAN.spec | 10 +++++++--- tests/upstream-tests.fmf | 6 +++++- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/gating.yaml b/gating.yaml index b4cb4d8..805e877 100644 --- a/gating.yaml +++ b/gating.yaml @@ -4,4 +4,4 @@ product_versions: decision_context: osci_compose_gate rules: - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} - - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier2.functional} + - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional} diff --git a/perl-CPAN.spec b/perl-CPAN.spec index 78f5979..3b7d0f0 100644 --- a/perl-CPAN.spec +++ b/perl-CPAN.spec @@ -12,7 +12,7 @@ Name: perl-CPAN Version: 2.18 -Release: 398%{?dist} +Release: 399%{?dist} Summary: Query, download and build perl modules from CPAN sites License: GPL+ or Artistic URL: http://search.cpan.org/dist/CPAN/ @@ -289,7 +289,8 @@ unset AUTHOR_TEST CPAN_EXPECT_TIMEOUT CPAN_RUN_SHELL_TEST_WITHOUT_EXPECT \ DIR=$(mktemp -d) pushd "$DIR" cp -a %{_libexecdir}/%{name}/* ./ -prove -I . -j "$(getconf _NPROCESSORS_ONLN)" +cp t/CPAN/TestConfig.pm t/CPAN/MyConfig.pm +prove -I . popd rm -rf "$DIR" EOF @@ -312,7 +313,10 @@ make test %{_libexecdir}/%{name} %changelog -* Thu Jan 18 2024 Jitka Plesnikova - 2.18-397 +* Mon Feb 05 2024 Jitka Plesnikova - 2.18-399 +- Fix tests to run in correct order + +* Thu Jan 18 2024 Jitka Plesnikova - 2.18-398 - Fix CVE-2023-31484 - Package tests diff --git a/tests/upstream-tests.fmf b/tests/upstream-tests.fmf index 2cfe89c..a4efea6 100644 --- a/tests/upstream-tests.fmf +++ b/tests/upstream-tests.fmf @@ -3,5 +3,9 @@ component: perl-CPAN require: perl-CPAN-tests test: /usr/libexec/perl-CPAN/test tag: - - Tier2 + - Tier1 - rhel-buildroot +adjust: + - enabled: false + when: distro != rhel-8 + continue: false