summaryrefslogtreecommitdiffstats
path: root/dvm/764829/testcase
blob: bf1d67fd99dff04a8c28b05ac9a015b0db444d31 (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
# Bug 764829 ".." entry in mount point missing

source $cwd/regression_helpers

$GLUSTERFSDIR/gluster volume create $global_bug_id $(hostname):$EXPORT_DIR/$global_bug_id/brick1 2>/dev/null 1>/dev/nul



$GLUSTERFSDIR/gluster volume start $global_bug_id 2>/dev/null 1>/dev/null
sleep 5

mount_glusterfs $global_bug_id
cd $FUSE_MOUNT

# Check whether ".." entry exists

ls -a | grep '\.\.' 1>/dev/null 2>/dev/null

ret=$?

if [ $ret -ne 0 ]; then
    exit 1
else
    exit 0
fi