diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2015-05-01 11:01:15 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-05-04 01:23:28 -0700 |
commit | 7759748915485d6c740a7fed831376f298eb90bb (patch) | |
tree | 6279197354efd67013080537466fa9d586b80efc /tests/volume.rc | |
parent | c7bf5633276ee78e32ff79e5c0815b3f51e39500 (diff) |
tests: Check aux umount is unmounted for quota tests
Change-Id: If57d08f3446755ea41f66ca258efcc8ea5a89063
BUG: 1217701
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/10480
Tested-by: NetBSD Build System
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests/volume.rc')
-rw-r--r-- | tests/volume.rc | 13 |
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 +} |