blob: 50eaa7d66969437bc652ef0a55f66374e1bdb319 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/bash
. $(dirname $0)/../../include.rc
. $(dirname $0)/../../volume.rc
cleanup;
TEST glusterd
TEST $CLI volume create $V0 $H0:$B0/${V0}1
TEST $CLI volume start $V0
TEST $CLI volume set $V0 parallel-readdir on
TEST $CLI volume set $V0 readdir-optimize on
TEST glusterfs --volfile-server=$H0 --volfile-id=$V0 $M0
TEST mkdir -p $M0/subdir1/subdir2;
umount $M0
TEST glusterfs --volfile-server=$H0 --volfile-id=$V0 $M0
count=`ls -1 $M0/subdir1 | wc -l`
TEST [ $count -eq 1 ]
cleanup;
|