summaryrefslogtreecommitdiffstats
path: root/245/regr/testcase
blob: 4cc16c9df63f25e45ae53cf3c7e00b253fd2f6c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash

description="#  Bug 245 -  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

retval1=$?


if [ $retval1 -eq 0 ]  
then
 ok $description
        comment $comments

else
 not_ok $description
        comment $comments

fi


rm $MOUNTDIR/client1/testing.txt >/dev/null
cleanup_glusterfs