mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs/148: sort attribute list output
Yang Xu reported a test failure in xfs/148 that I think comes from extended attributes being returned in a different order than they were set. Since order isn't important in this test, sort the output to make it consistent. Reported-by: Yang Xu <xuyang2018.ky@cn.fujitsu.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
37520a314b
commit
8c9705b798
+1
-1
@@ -76,7 +76,7 @@ test_names+=("too_many" "are_bad/for_you")
|
||||
|
||||
access_stuff() {
|
||||
ls $testdir
|
||||
$ATTR_PROG -l $testfile
|
||||
$ATTR_PROG -l $testfile | grep 'a_' | sort
|
||||
|
||||
for name in "${test_names[@]}"; do
|
||||
ls "$testdir/f_$name"
|
||||
|
||||
+2
-2
@@ -4,10 +4,10 @@ f_another
|
||||
f_are_bad_for_you
|
||||
f_something
|
||||
f_too_many_beans
|
||||
Attribute "a_another" has a 3 byte value for TEST_DIR/mount-148/testfile
|
||||
Attribute "a_are_bad_for_you" has a 3 byte value for TEST_DIR/mount-148/testfile
|
||||
Attribute "a_something" has a 3 byte value for TEST_DIR/mount-148/testfile
|
||||
Attribute "a_too_many_beans" has a 3 byte value for TEST_DIR/mount-148/testfile
|
||||
Attribute "a_are_bad_for_you" has a 3 byte value for TEST_DIR/mount-148/testfile
|
||||
Attribute "a_another" has a 3 byte value for TEST_DIR/mount-148/testfile
|
||||
TEST_DIR/mount-148/testdir/f_something
|
||||
Attribute "a_something" had a 3 byte value for TEST_DIR/mount-148/testfile:
|
||||
heh
|
||||
|
||||
Reference in New Issue
Block a user