mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Update QA tests to work with new attribute code (trusted namespace).
This commit is contained in:
+2
-2
@@ -1170,10 +1170,10 @@ _get_eas_on_path()
|
||||
done
|
||||
|
||||
echo "Root names"
|
||||
getfattr --absolute-names -Rh -m xfsroot $_path |\
|
||||
getfattr --absolute-names -Rh -m trusted $_path |\
|
||||
perl -wn -e '
|
||||
if (m/^# file: (\S+)/) { $file = $1 }
|
||||
elsif (m/^xfsroot\.(\w+)/) { print $file, " ",$1,"\n" }' |\
|
||||
elsif (m/^trusted\.(\w+)/) { print $file, " ",$1,"\n" }' |\
|
||||
sort |\
|
||||
while read file ea_name; do
|
||||
attr -R -g $ea_name $file
|
||||
|
||||
Reference in New Issue
Block a user