#!/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