diff --git a/mock/integration-tests/runtests.sh b/mock/integration-tests/runtests.sh index c64dcd090..e02a5606c 100755 --- a/mock/integration-tests/runtests.sh +++ b/mock/integration-tests/runtests.sh @@ -44,15 +44,7 @@ else MOCKSRPM=$1 fi -if [ -e /usr/bin/dnf ]; then - header "pre-populating the cache (DNF)" - runcmd "$MOCKCMD --init --dnf" - header "clean up" - runcmd "$MOCKCMD --offline --clean" -else - header "pre-populating the cache (YUM)" - runcmd "$MOCKCMD --init" -fi +runcmd "$MOCKCMD --init" header "installing dependencies for $MOCKSRPM" runcmd "$MOCKCMD --disable-plugin=tmpfs --installdeps $MOCKSRPM" if [ ! -e $CHROOT/usr/include/python* ]; then