summaryrefslogtreecommitdiffstats
path: root/445/regr/testcase
blob: 5b90126927cda41d05cd0f1c502090e63f9b3bf2 (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
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