summaryrefslogtreecommitdiffstats
path: root/tests/volume.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/volume.rc')
-rw-r--r--tests/volume.rc13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/volume.rc b/tests/volume.rc
index b0211cbe2fc..e7d7606ac11 100644
--- a/tests/volume.rc
+++ b/tests/volume.rc
@@ -518,3 +518,16 @@ function num_graphs
local mountpoint=$1
echo `ls $mountpoint/.meta/graphs/ | grep -v active | wc -l`
}
+
+function get_aux()
+{
+##Check if a auxiliary mount is there
+df -h 2>&1 | grep "/var/run/gluster/$V0" -
+
+if [ $? -eq 0 ]
+then
+ echo "0"
+else
+ echo "1"
+fi
+}