summaryrefslogtreecommitdiffstats
path: root/tests/bugs/distribute/bug-1161156.t
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-04 01:23:28 -0700
commit7759748915485d6c740a7fed831376f298eb90bb (patch)
tree6279197354efd67013080537466fa9d586b80efc /tests/bugs/distribute/bug-1161156.t
parentc7bf5633276ee78e32ff79e5c0815b3f51e39500 (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/bugs/distribute/bug-1161156.t')
-rwxr-xr-xtests/bugs/distribute/bug-1161156.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/bugs/distribute/bug-1161156.t b/tests/bugs/distribute/bug-1161156.t
index 33d1571c59d..cc9522dc1a8 100755
--- a/tests/bugs/distribute/bug-1161156.t
+++ b/tests/bugs/distribute/bug-1161156.t
@@ -1,6 +1,7 @@
#!/bin/bash
. $(dirname $0)/../../include.rc
+. $(dirname $0)/../../volume.rc
. $(dirname $0)/../../nfs.rc
function usage()
@@ -49,6 +50,7 @@ TEST mv $N0/dir/file $N0/dir/newfile_3
# rename should fail here with disk quota exceeded
TEST ! mv $N0/dir/newfile_3 $N0/newdir/
-# cleanup
umount_nfs $N0
+TEST $CLI volume stop $V0
+EXPECT "1" get_aux
cleanup;