diff --git a/Sanity/libecpg/runtest.sh b/Sanity/libecpg/runtest.sh index b89d652..853f0d0 100755 --- a/Sanity/libecpg/runtest.sh +++ b/Sanity/libecpg/runtest.sh @@ -34,7 +34,8 @@ PACKAGE_LIBECPG_DEVEL="libecpg-devel" rlJournalStart rlPhaseStart FAIL "Setup" rlRun "rlImport database/postgresql" - PGDATA="$(postgresqlDataDir)"; + PGDATA="$postgresqlDataDir" + rlRun "rpm -q libecpg-devel || dnf --enablerepo '*CRB' -y install libecpg-devel" 0 "Workaround to install libecpg-devel from CRB" PACKAGES="$PACKAGES ${postgresqlPackagePrefix}${PACKAGE_LIBECPG_DEVEL} \ ${postgresqlPackagePrefix}${PACKAGE} \ ${postgresqlPackagePrefix}${PACKAGE}-server"; @@ -43,6 +44,7 @@ rlJournalStart done rlRun "TestDir=$PWD" rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory" + rlRun "chmod 777 $TmpDir" rlRun "pushd $TmpDir" rlPhaseEnd