From 79f87dcc8e97b3eec283be94c725b074287e6e00 Mon Sep 17 00:00:00 2001 From: Anush Shetty Date: Tue, 17 Nov 2009 00:53:47 -0800 Subject: Bug #310 Signed-off-by: Vijay Bellur --- 310/regr/testcase | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100755 310/regr/testcase (limited to '310/regr/testcase') 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. +# 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 +# . + +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 -- cgit