mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
common: replace chattr with $CHATTR_PROG
We have a wrapper around chattr to make sure people don't do the wrong thing on their boxes, so we need to be able to specify CHATTR_PROG and have it actually work, so replace all chattr calls with $CHATTR_PROG. Signed-off-by: Josef Bacik <jbacik@fb.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
committed by
Dave Chinner
parent
ddc9483644
commit
102ffa0c96
+2
-2
@@ -107,7 +107,7 @@ echo "+ mount image"
|
||||
_scratch_mount
|
||||
|
||||
echo "+ chattr -R -i"
|
||||
chattr -R -f -i "${SCRATCH_MNT}/"
|
||||
$CHATTR_PROG -R -f -i "${SCRATCH_MNT}/"
|
||||
|
||||
echo "+ check files"
|
||||
broken=0
|
||||
@@ -130,7 +130,7 @@ echo "+ mount image"
|
||||
_scratch_mount
|
||||
|
||||
echo "+ chattr -R -i"
|
||||
chattr -R -f -i "${SCRATCH_MNT}/"
|
||||
$CHATTR_PROG -R -f -i "${SCRATCH_MNT}/"
|
||||
|
||||
echo "+ check files (2)"
|
||||
broken=0
|
||||
|
||||
Reference in New Issue
Block a user