diff options
author | Lakshmipathi <Lakshmipathi@gluster.com> | 2010-03-31 03:41:27 -0700 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2010-04-08 11:16:22 +0530 |
commit | 0ab0d09719ddd92773913e161d9094d75b3f3974 (patch) | |
tree | a1d4d6fb228856165a730c9648dc567819d04b27 /445/regr/testcase | |
parent | 46b5ec9466f93950b8ac0522536c553134b0563b (diff) |
Regression testcase for bug 445
Signed-off-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to '445/regr/testcase')
-rwxr-xr-x | 445/regr/testcase | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/445/regr/testcase b/445/regr/testcase new file mode 100755 index 0000000..5b90126 --- /dev/null +++ b/445/regr/testcase @@ -0,0 +1,32 @@ +#!/bin/bash + +description="# Bug 445 - Transport endpoint is not connected " +comments="# Touching a file works, writing actual data to it doesn't." + + +source ../../init + +start_glusterfs + +sleep 2 +echo "this is file content" > $MOUNTDIR/client1/testing.txt + +retval=$? + + + +if [ $retval -eq 0 ] +then + ok $description + comment $comments + +else + not_ok $description + comment $comments + +fi + + +rm $MOUNTDIR/client1/testing.txt >/dev/null +cleanup_glusterfs + |