summaryrefslogtreecommitdiffstats
path: root/133/regr/testcase
blob: 43920ec6b167eda5edb305431a699f7ef1dbc0b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

description="# (133) posix_getxattr doesn't handle 'glusterfs.content' key"
comments="#Supporting glusterfs.content key"

source ../../init

start_glusterfs

sleep 5
if [ $(getfattr -d -e hex -m "trusted.glusterfs.content" $MOUNTDIR/client1 2> /dev/null | wc -l) -ne 0 ];then
	ok $description
else
	not_ok $desrciption
	comment $comments
fi

cleanup_glusterfs