summaryrefslogtreecommitdiffstats
path: root/tests/volume.rc
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2015-05-01 11:01:15 +0530
committerVijay Bellur <vbellur@redhat.com>2015-05-05 10:42:18 -0700
commitabb576afae304e487c010c5bc8e92c6ffae85332 (patch)
tree18425adf22deec07482562f8f573f09ff0d5c326 /tests/volume.rc
parenteac6fe7d57a3b35d293cb28721464af7a7b386b4 (diff)
tests: Check aux umount is unmounted for quota tests
Change-Id: If57d08f3446755ea41f66ca258efcc8ea5a89063 BUG: 1218593 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/10480 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com> Signed-off-by: Sachin Pandit <spandit@redhat.com> Reviewed-on: http://review.gluster.org/10575
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 75e244f3cc4..5ba637dee54 100644
--- a/tests/volume.rc
+++ b/tests/volume.rc
@@ -511,3 +511,16 @@ function cleanup_georep {
$CLI volume geo-rep $GMV0 $H0::$GSV0 delete
}
+
+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
+}