mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: do not call attr/getfattr/setfattr direcly
always use the full path set up in common.attr. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Alex Elder <aelder@sgi.com>
This commit is contained in:
committed by
Alex Elder
parent
d0b69e2ee6
commit
3d3893eef9
@@ -77,7 +77,7 @@ add_eas()
|
||||
echo ""; echo "** add $start..$end EAs **"
|
||||
i=$start
|
||||
while [ $i -le $end ]; do
|
||||
attr -s name.$i -V value $file >/dev/null
|
||||
${ATTR_PROG} -s name.$i -V value $file >/dev/null
|
||||
let i=$i+1
|
||||
done
|
||||
}
|
||||
@@ -89,7 +89,7 @@ rm_eas()
|
||||
echo ""; echo "** rm $start..$end EAs **"
|
||||
i=$start
|
||||
while [ $i -le $end ]; do
|
||||
attr -r name.$i $file >/dev/null
|
||||
${ATTR_PROG} -r name.$i $file >/dev/null
|
||||
let i=$i+1
|
||||
done
|
||||
}
|
||||
@@ -343,7 +343,7 @@ _test_initial_sf_ea()
|
||||
touch $file
|
||||
vlen=402
|
||||
vlen=300
|
||||
dd if=/dev/zero bs=1 count=$vlen | attr -s name $file
|
||||
dd if=/dev/zero bs=1 count=$vlen | ${ATTR_PROG} -s name $file
|
||||
_print_inode
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user