common: replace chattr with $CHATTR_PROG
[xfstests-dev.git] / tests / xfs / 101
index 99f4b8fca4d4539475ab704c0f7352a24de5d6e0..09af6499151ec5bf89da7efbe773f7620931e605 100755 (executable)
@@ -96,7 +96,7 @@ echo "+ mount image (2)"
 _scratch_mount
 
 echo "+ chattr -R -i"
-chattr -R -f -i "${SCRATCH_MNT}/"
+$CHATTR_PROG -R -f -i "${SCRATCH_MNT}/"
 
 echo "+ modify dir (2)"
 mkdir -p "${SCRATCH_MNT}/blockdir"