summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-1002207.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/bug-1002207.t')
-rw-r--r--tests/bugs/bug-1002207.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/bug-1002207.t b/tests/bugs/bug-1002207.t
index 4fad2ff156c..c67738bd7ec 100644
--- a/tests/bugs/bug-1002207.t
+++ b/tests/bugs/bug-1002207.t
@@ -26,7 +26,7 @@ function xattr_query_check()
local path=$1
local xa_name=$2
- local ret=`getfattr -m . -n $xa_name $path 2>&1 | grep -o "$xa_name: No such attribute" | wc -l`
+ local ret=$(getfattr -n $xa_name $path 2>&1 | grep -o "$xa_name: No such attribute" | wc -l)
echo $ret
}