From 7842f86a5c48389b6c34009b08799adca19b7311 Mon Sep 17 00:00:00 2001 From: Nandaja Varma Date: Fri, 30 Jan 2015 14:17:23 +0530 Subject: tests: Removing rpmbuild/mock check from run-tests.sh Checks for rpmbuild/mock is removed from run-tests since this check is not in the glusterfs-regression-tests package. Alongside, the dependency mock is also removed from glusterfs.spec.in as mock is only used by basic/rpm.t. Change-Id: I5a9036141d0900b3a0bedd95b8c58fb0cdc13ca1 BUG: 1178008 Signed-off-by: Nandaja Varma Reviewed-on: http://review.gluster.org/9512 Tested-by: Gluster Build System Reviewed-by: Niels de Vos Reviewed-by: Lalatendu Mohanty Reviewed-by: Humble Devassy Chirammal Reviewed-by: Kaleb KEITHLEY --- run-tests.sh | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'run-tests.sh') diff --git a/run-tests.sh b/run-tests.sh index aabf1da159a..d6de6c6c31a 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -20,20 +20,6 @@ function check_dependencies() MISSING="$MISSING git" fi - # basic/rpm.t uses mock, which assumes Linux as the OS - if [ "x`uname -s`" = "xLinux" ] ; then - # Check for mock - if [ ! -e /usr/bin/mock ]; then - MISSING="$MISSING mock" - fi - - # Check for rpmbuild - env rpmbuild --version > /dev/null 2>&1 - if [ $? -ne 0 ]; then - MISSING="$MISSING rpmbuild" - fi - fi - # Check for nfs-utils (Linux-only: built-in NetBSD with different name) if [ "x`uname -s`" = "xLinux" ] ; then env mount.nfs -V > /dev/null 2>&1 -- cgit