summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/basic/glusterfsd-args.t5
-rw-r--r--tests/env.rc.in3
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/basic/glusterfsd-args.t b/tests/basic/glusterfsd-args.t
new file mode 100644
index 00000000000..2dd84b8c29e
--- /dev/null
+++ b/tests/basic/glusterfsd-args.t
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+. $(dirname $0)/../include.rc
+
+EXPECT $GLUSTER_LIBEXECDIR glusterfsd --print-libexecdir
diff --git a/tests/env.rc.in b/tests/env.rc.in
index f78fe8ffeb5..8d692f7066c 100644
--- a/tests/env.rc.in
+++ b/tests/env.rc.in
@@ -34,3 +34,6 @@ export PYTHONPATH
GLUSTER_CMD_DIR=@sbindir@
export GLUSTER_CMD_DIR
+
+GLUSTER_LIBEXECDIR=@GLUSTERFS_LIBEXECDIR@
+export GLUSTER_LIBEXECDIR