mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Merge of xfs-cmds-2.4.18:slinx:112579a by nathans.
getfattr -a --> --absolute-names.
This commit is contained in:
@@ -103,7 +103,7 @@ echo "*** make test file 1"
|
||||
touch $testfile.1
|
||||
echo "v1" | _attr -s "a1" $testfile.1 >/dev/null
|
||||
echo "v2--" | _attr -s "a2--" $testfile.1 >/dev/null
|
||||
_getfattr -a $testfile.1
|
||||
_getfattr --absolute-names $testfile.1
|
||||
inum_1=`ls -li $testfile.1 | $AWK_PROG '{ print $1 }'`
|
||||
|
||||
echo "*** make test file 2"
|
||||
@@ -113,7 +113,7 @@ echo "value_1" | _attr -s "a1" $testfile.2 >/dev/null
|
||||
echo "value_2" | _attr -s "a2-----" $testfile.2 >/dev/null
|
||||
(echo start ; dd if=/dev/zero bs=65525 count=1 ; echo end ) \
|
||||
| _attr -s "a3" $testfile.2 >/dev/null
|
||||
_getfattr -a $testfile.2
|
||||
_getfattr --absolute-names $testfile.2
|
||||
|
||||
# print name and size from 1st line of output
|
||||
_attr -g "a3" $testfile.2 | head -1
|
||||
|
||||
Reference in New Issue
Block a user