summaryrefslogtreecommitdiffstats
path: root/tests/basic/ec/ec.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic/ec/ec.t')
-rw-r--r--tests/basic/ec/ec.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/basic/ec/ec.t b/tests/basic/ec/ec.t
index f98f2110e8f..cc882771501 100644
--- a/tests/basic/ec/ec.t
+++ b/tests/basic/ec/ec.t
@@ -12,7 +12,7 @@ function my_getfattr {
}
function get_rep_count {
- v=$(my_getfattr -n trusted.nsr.rep-count $1)
+ v=$(my_getfattr -n trusted.jbr.rep-count $1)
#echo $v > /dev/tty
echo $v
}
@@ -109,7 +109,7 @@ function check_rmdir {
}
function check_setxattr {
- stat $M0/setxattr
+ getfattr -d -m. -e hex $M0/setxattr
for b in $*; do
v=$(my_getfattr -n user.foo $b/setxattr)
if [ "$v" != "ash_nazg_durbatuluk" ]; then
@@ -122,7 +122,7 @@ function check_setxattr {
}
function check_removexattr {
- stat $M0/removexattr
+ getfattr -d -m. -e hex $M0/removexattr
for b in $*; do
my_getfattr -n user.bar $b/removexattr 2> /dev/null
if [ $? -eq 0 ]; then