From 882be308e46e54918f6e4d67bb7f55ad97eecd65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Hrdina?= Date: Wed, 30 Aug 2023 10:52:38 +0200 Subject: [PATCH] Fixing upstream test /Sanity/bz966964-json-c-upstream-tests --- Sanity/bz966964-json-c-upstream-tests/runtest.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sanity/bz966964-json-c-upstream-tests/runtest.sh b/Sanity/bz966964-json-c-upstream-tests/runtest.sh index b4c142f..81a4592 100755 --- a/Sanity/bz966964-json-c-upstream-tests/runtest.sh +++ b/Sanity/bz966964-json-c-upstream-tests/runtest.sh @@ -47,7 +47,8 @@ rlJournalStart # this was not stable enough, e.g. instead of json-c-json-c-1.1.1-20100101 there was json-c-libjson.c.so.6-1.1.1.-20100101 # rlRun "pushd BUILD/json-c-`rpm -q --qf "%{P}-%{VERSION}-$DATE" json-c`" 0 # but we will assume that there is only one directory - rlRun "pushd BUILD/json-c-*" 0 + # the SPECPARTS dir occured, so it has to be filtered + rlRun "pushd BUILD/$(ls ./BUILD/ | grep -v 'SPECPARTS')" 0 rlRun "make check |& tee $TmpDir/make_check.out" 0 rlRun "popd" if rlIsRHEL 6 ; then