common: replace chattr with $CHATTR_PROG
[xfstests-dev.git] / tests / xfs / 120
index ca7b7809e5fd5f969577de2163dacbdc891f54b6..08a461517090d0c708ba57177cc75e0e650389b3 100755 (executable)
@@ -94,7 +94,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 files (2)"
 touch "${SCRATCH_MNT}/bigfile"