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