summaryrefslogtreecommitdiffstats
path: root/310/regr/testcase
diff options
context:
space:
mode:
authorAnush Shetty <anush@gluster.com>2009-11-17 00:53:47 -0800
committerVijay Bellur <vijay@gluster.com>2009-12-01 18:25:41 +0530
commit79f87dcc8e97b3eec283be94c725b074287e6e00 (patch)
tree9845718088e5ed3d628fea99fad5fc0cfed34c33 /310/regr/testcase
parent2167d8999350c22bba521aca75b4f0aea6c2d524 (diff)
Bug #310
Signed-off-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to '310/regr/testcase')
-rwxr-xr-x310/regr/testcase41
1 files changed, 41 insertions, 0 deletions
diff --git a/310/regr/testcase b/310/regr/testcase
new file mode 100755
index 0000000..b33c861
--- /dev/null
+++ b/310/regr/testcase
@@ -0,0 +1,41 @@
+#!/bin/bash
+#
+# Copyright (c) 2006-2009 Gluster, Inc. <http://www.gluster.com>
+# This file is part of GlusterFS.
+#
+# GlusterFS is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published
+# by the Free Software Foundation; either version 3 of the License,
+# or (at your option) any later version.
+#
+# GlusterFS is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see
+# <http://www.gnu.org/licenses/>.
+
+description="# [ 310 ] While trying to create a file on replicate with write behind set-up, client crashes"
+comments="# [ 310 ] While trying to create a file on replicate with write behind set-up, client crashes"
+
+source ../../init
+
+start_glusterfs
+
+
+cd $MOUNTDIR/client1
+
+touch dot 2> tmpfile
+
+if [ $(grep "Transport endpoint not connected" tmpfile | wc -l) -ne 0 ];then
+ not_ok $description
+ comment $comments
+else
+ ok $description
+fi
+
+rm tmpfile
+## Testcase End
+cleanup_glusterfs