blob: 924251a432cdbb2c64875cc38ff37c9732cdfb6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/bash
. $(dirname $0)/../../include.rc
cleanup;
TEST glusterd
TEST pidof glusterd
TEST $CLI volume create $V0 $H0:$B0/${V0} $H0:$B1/${V0}
TEST $CLI volume start $V0
TEST glusterfs --volfile-id=/$V0 --volfile-server=$H0 $M0 --attribute-timeout=0 --entry-timeout=0
TEST "echo hello > $M0/file1"
TEST setfattr -n trusted.io-stats-dump -v /tmp/io-stats.log $M0
TEST ! getfattr -n trusted.io-stats-dump $B0/${V0}
cleanup;
|