From 7759748915485d6c740a7fed831376f298eb90bb Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Fri, 1 May 2015 11:01:15 +0530 Subject: tests: Check aux umount is unmounted for quota tests Change-Id: If57d08f3446755ea41f66ca258efcc8ea5a89063 BUG: 1217701 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.org/10480 Tested-by: NetBSD Build System Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- tests/volume.rc | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tests/volume.rc') 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 +} -- cgit