summaryrefslogtreecommitdiffstats
path: root/run-tests.sh
diff options
context:
space:
mode:
authorNandaja Varma <nvarma@redhat.com>2015-01-30 14:17:23 +0530
committerNiels de Vos <ndevos@redhat.com>2015-02-03 08:31:30 -0800
commit7842f86a5c48389b6c34009b08799adca19b7311 (patch)
treed541ae645149d223c538f82f61eaccb088987aca /run-tests.sh
parentb05b77923903deb26e5b1bae52da46ff6c1c878e (diff)
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 <nvarma@redhat.com> Reviewed-on: http://review.gluster.org/9512 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Niels de Vos <ndevos@redhat.com> Reviewed-by: Lalatendu Mohanty <lmohanty@redhat.com> Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'run-tests.sh')
-rwxr-xr-xrun-tests.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/run-tests.sh b/run-tests.sh
index aabf1da..d6de6c6 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