summaryrefslogtreecommitdiffstats
path: root/tests/bugs/core/bug-1135514-allow-setxattr-with-null-value.t
blob: d26aa56132167586450356167c024fbe76b3f8d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

. $(dirname $0)/../../include.rc
. $(dirname $0)/../../volume.rc

#Test
cleanup;

TEST glusterd
TEST pidof glusterd
TEST $CLI volume create $V0 $H0:$B0/${V0}0
TEST $CLI volume start $V0
TEST glusterfs --volfile-id=/$V0 --volfile-server=$H0 $M0 --attribute-timeout=0 --entry-timeout=0
TEST touch $M0/file
TEST setfattr -n user.attribute1 $M0/file
TEST getfattr -n user.attribute1 $M0/file
cleanup