blob: 2a0a0337a5b11db67ffb3d4a5ce99bd6f4e95008 (
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
source $cwd/regression_helpers
$GLUSTERFSDIR/gluster volume create $global_bug_id $(hostname):$EXPORT_DIR/$global_bug_id/brick1 2>/dev/null 1>/dev/null;
$GLUSTERFSDIR/gluster volume start $global_bug_id 2>/dev/null 1>/dev/null;
mount_glusterfs $global_bug_id;
touch $FUSE_MOUNT/dot;
ln $FUSE_MOUNT/dot $FUSE_MOUNT/dot2;
sleep 2;
rm -rf $FUSE_MOUNT/dot;
cat $FUSE_MOUNT/dot2 2>/dev/null 1>/dev/null;
ret=$?
if [ $ret -eq 0 ]; then
exit 0;
else
exit 1;
fi
|