blob: d26eb21ccc55f2052dc8388bdf6bc1c345417650 (
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
|
#!/bin/bash
#This test checks that gfid/volume-id removexattrs are not allowed.
. $(dirname $0)/../../include.rc
. $(dirname $0)/../../volume.rc
cleanup;
#Basic checks
TEST glusterd
TEST pidof glusterd
TEST $CLI volume info
#Create a distributed volume
TEST $CLI volume create $V0 $H0:$B0/${V0}{1..2};
TEST $CLI volume start $V0
# Mount FUSE
TEST glusterfs -s $H0 --volfile-id $V0 $M0
TEST ! setfattr -x trusted.gfid $M0
TEST ! setfattr -x trusted.glusterfs.volume-id $M0
TEST setfattr -n trusted.abc -v abc $M0
TEST setfattr -x trusted.abc $M0
cleanup;
|