From 4810123229024d882fd61d801a5b11063c356e9e Mon Sep 17 00:00:00 2001 From: Pavel Reichl Date: Thu, 15 Feb 2024 22:57:04 +0100 Subject: [PATCH] Fix gating - explicit script name Fix gating by using the explicit script name `main.sh` to run the test, which sources dependencies and then executes `run.sh`, instead of directly running `run.sh` as the default. Resolves: RHEL-7884 Signed-off-by: Pavel Reichl --- rpcbind.spec | 6 +++++- tests/tests.yml | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/rpcbind.spec b/rpcbind.spec index 8e29155..0a48c06 100644 --- a/rpcbind.spec +++ b/rpcbind.spec @@ -4,7 +4,7 @@ Name: rpcbind Version: 1.2.6 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Universal Addresses to RPC Program Number Mapper License: BSD URL: https://sourceforge.net/projects/rpcbind/ @@ -125,6 +125,10 @@ fi %attr(0700, %{rpcbind_user_group}, %{rpcbind_user_group}) %dir %{rpcbind_state_dir} %changelog +* Thu Feb 15 2024 Pavel Reichl - 1.2.6-7 +- Fix gating - use explicit script name to run the test +- Related: RHEL-7884 + * Mon Feb 12 2024 Pavel Reichl - 1.2.6-6 - Add support for gating - Related: RHEL-7884 diff --git a/tests/tests.yml b/tests/tests.yml index 7a9ffa7..d537801 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -10,9 +10,9 @@ - repo: "https://pkgs.devel.redhat.com/git/tests/nfs-utils" dest: "tests" tests: - - tests/function/nfs-mount-options-all - - tests/rpcbind/rpcinfo_common - - tests/rpcbind/services/systemd/rpcbind + - tests/function/nfs-mount-options-all/main.sh + - tests/rpcbind/rpcinfo_common/main.sh + - tests/rpcbind/services/systemd/rpcbind/main.sh required_packages: - nfs-utils - redhat-lsb-core # lsb_release is needed by tests