summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRavishankar N <ravishankar@redhat.com>2015-09-03 12:05:12 +0530
committerRaghavendra Talur <rtalur@redhat.com>2015-09-03 21:38:29 -0700
commit378b625698fe01ed2c3a6f4f065a699b2d573947 (patch)
treee68925241bc2f06e9f524b2d1e338b99fa57beb7 /tests
parent76233f0cf43125a83b79de3ca5dc742fc9850cce (diff)
tests: check free space only on gluster mount
Change-Id: I06de4f555e66fac2594676572c8f8a4ee08f8131 BUG: 1251346 Signed-off-by: Ravishankar N <ravishankar@redhat.com> Reviewed-on: http://review.gluster.org/12096 Reviewed-by: Raghavendra Talur <rtalur@redhat.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/basic/afr/arbiter-statfs.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic/afr/arbiter-statfs.t b/tests/basic/afr/arbiter-statfs.t
index 9082220e63b..9210080c16c 100644
--- a/tests/basic/afr/arbiter-statfs.t
+++ b/tests/basic/afr/arbiter-statfs.t
@@ -26,7 +26,7 @@ TEST MOUNT_LOOP $LO3 $B0/${V0}3
TEST $CLI volume create $V0 replica 3 arbiter 1 $H0:$B0/${V0}{1,2,3};
TEST $CLI volume start $V0
TEST glusterfs --volfile-server=$H0 --volfile-id=$V0 $M0
-free_space=$(df /home | tail -1 | awk '{ print $4}')
+free_space=$(df -P $M0 | tail -1 | awk '{ print $4}')
TEST [ $free_space -gt 100000 ]
TEST force_umount $M0
TEST $CLI volume stop $V0