summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrun-tests.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/run-tests.sh b/run-tests.sh
index b75ac2c8bfc..823814db85f 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -25,6 +25,12 @@ function check_dependencies()
MISSING="$MISSING mock"
fi
+ # Check for rpmbuild
+ env rpmbuild --version > /dev/null 2>&1
+ if [ $? -ne 0 ]; then
+ MISSING="$MISSING rpmbuild"
+ fi
+
# Check for nfs-utils
env mount.nfs -V > /dev/null 2>&1
if [ $? -ne 0 ]; then