blob: 513d5ba1a4ab554e8b4768e574303d23f7512ef9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/bash
source $cwd/regression_helpers
$GLUSTERFSDIR/gluster volume create vol$global_bug_id $(hostname):$EXPORT_DIR/$global_bug_id/export1 2>/dev/null 1>/dev/null
$GLUSTERFSDIR/gluster volume start vol$global_bug_id 2>/dev/null 1>/dev/null
#mount on an invalid mount point which does NOT exists and check
#whether error message is shown
MNTPT="/blahblah"
mount -t glusterfs $(hostname):vol$global_bug_id $MNTPT | grep "ERROR: Mount point does not exist."
exit $?
|