summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glusterfs.spec.in2
-rwxr-xr-xrun-tests.sh5
2 files changed, 6 insertions, 1 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 525822a53a9..a9061ced62a 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -403,7 +403,7 @@ Requires: %{name} = %{version}-%{release}
Requires: %{name}-fuse = %{version}-%{release}
Requires: %{name}-server = %{version}-%{release}
Requires: perl(App::Prove) perl(Test::Harness) gcc util-linux-ng lvm2
-Requires: python attr dbench git nfs-utils xfsprogs
+Requires: python attr dbench file git libacl-devel mock net-tools nfs-utils xfsprogs yajl
%description regression-tests
The Gluster Test Framework, is a suite of scripts used for
diff --git a/run-tests.sh b/run-tests.sh
index 1d8338bc81d..39aeab3b624 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -36,6 +36,11 @@ function check_dependencies()
MISSING="$MISSING perl-Test-Harness"
fi
+ # Check for YAJL
+ if [ ! -x /usr/bin/json_verify ]; then
+ MISSING="$MISSING yajl"
+ fi
+
# Check for XFS programs
env mkfs.xfs -V > /dev/null 2>&1
if [ $? -ne 0 ]; then