mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
make output deterministic for all QA hosts.
This commit is contained in:
@@ -73,6 +73,18 @@ _create_test_bed()
|
||||
find $SCRATCH_MNT | LC_COLLATE=POSIX sort
|
||||
}
|
||||
|
||||
getfattr()
|
||||
{
|
||||
/usr/bin/getfattr $@ | sed -e \
|
||||
"s/$SCRATCH_MNT/SCRATCH_MNT/g"
|
||||
}
|
||||
|
||||
setfattr()
|
||||
{
|
||||
/usr/bin/setfattr $@ | sed -e \
|
||||
"s/$SCRATCH_MNT/SCRATCH_MNT/g"
|
||||
}
|
||||
|
||||
_require_scratch
|
||||
[ -x /usr/bin/getfattr ] || _notrun "getfattr is not installed"
|
||||
[ -x /usr/bin/setfattr ] || _notrun "setfattr is not installed"
|
||||
|
||||
Reference in New Issue
Block a user