summaryrefslogtreecommitdiffstats
path: root/tests/bugs/distribute
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
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')
-rw-r--r--tests/bugs/distribute/bug-1099890.t3
-rwxr-xr-xtests/bugs/distribute/bug-1161156.t4
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/bugs/distribute/bug-1099890.t b/tests/bugs/distribute/bug-1099890.t
index 4a4450166e9..f48162c972b 100644
--- a/tests/bugs/distribute/bug-1099890.t
+++ b/tests/bugs/distribute/bug-1099890.t
@@ -118,7 +118,8 @@ EXPECT "$V0-client-1" dht_get_linkto_target "$B0/${V0}1/zz"
EXPECT "1" is_dht_linkfile "$B0/${V0}1/zz"
force_umount $M0
-$CLI volume stop $V0
+TEST $CLI volume stop $V0
+EXPECT "1" get_aux
UMOUNT_LOOP ${B0}/${V0}{1,2}
rm -f ${B0}/brick{1,2}
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;