summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rwxr-xr-xdocs/releasetests.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/releasetests.sh b/docs/releasetests.sh
index 3eac0f4..32faf79 100755
--- a/docs/releasetests.sh
+++ b/docs/releasetests.sh
@@ -33,9 +33,15 @@ CHROOT=/var/lib/mock/$testConfig/root
#
# pre-populate yum cache for the rest of the commands below
#
+$MOCKCMD --init
$MOCKCMD --installdeps mock-*.src.rpm
#
+# Test offline build
+#
+$MOCKCMD --offline --rebuild mock-*.src.rpm
+
+#
# Test orphanskill feature
#
(pgrep daemontest && echo "Exiting because there is already a daemontest running." && exit 1) || :
@@ -45,11 +51,6 @@ $MOCKCMD --offline --chroot -- /tmp/daemontest
(pgrep daemontest && echo "Daemontest FAILED. found a daemontest process running after exit." && exit 1) || :
#
-# Test offline build
-#
-$MOCKCMD --offline --rebuild mock-*.src.rpm
-
-#
# test init/clean
#
$MOCKCMD --offline --clean