blob: f76bc067d4d485f50ac9b914df01e3d4fb119e6f (
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
|
#!/bin/bash
description="# (26) Version mismatch not handled correctly"
comments="# Tried connecting 2.0.2 client with different version server"
source ../../init
start_glusterfs --no-clients
/opt/glusterfs/2.0.2/sbin/glusterfs -f $SPECDIR/client1.vol -l $LOGDIR/$(hostname)-client1.log $MOUNTDIR/client1
sleep 5
for var in `seq 1 100`; do
ls $MOUNTDIR/client1 2> tmpfile
if [ $(grep "Transport endpoint is not connected" tmpfile | wc -l) -ne 0 ];then
not_ok $description
comment $comments
break
fi
done
rm tmpfile
[ $var -eq 100 ] && ok $description
umount -l $MOUNTDIR/client1
cleanup_glusterfs
|