summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAnand Avati <avati@redhat.com>2013-01-23 23:30:07 -0800
committerAnand Avati <avati@redhat.com>2013-01-27 21:09:39 -0800
commitc950d3f0e104fc7b78e493ad7ca0005a600b00f9 (patch)
tree379a4d68205610c58ccb2df6401bfccf63f978b9 /tests
parent710c52d23a2e7839a156c123167c6e13c8207f76 (diff)
bug-867253.t: do a clean umount at the end
On some machines, not doing a clean umount of NFS mount results in a hang, because sometimes the next script's cleanup() kills NFS server and the client mountpoint hangs forever. Change-Id: I64798202180c920650272cc19bcbe07d44377ff6 BUG: 867253 Signed-off-by: Anand Avati <avati@redhat.com> Reviewed-on: http://review.gluster.org/4421 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/bugs/bug-867253.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/bugs/bug-867253.t b/tests/bugs/bug-867253.t
index c67366e4c00..ae4e243af7d 100644
--- a/tests/bugs/bug-867253.t
+++ b/tests/bugs/bug-867253.t
@@ -53,3 +53,7 @@ ls -l $M0 >/dev/null;
NEW_FILE_COUNT1=`echo $?`;
EXPECT "0" file_count $NEW_FILE_COUNT $NEW_FILE_COUNT1
+
+TEST umount -l $M0
+
+cleanup