common: replace chattr with $CHATTR_PROG
[xfstests-dev.git] / tests / xfs / 125
index 8acd231432db914099ffc05d262e06031c403aac..cf61e0227a85a6f981c5c7dfe5fb57fea6368f32 100755 (executable)
@@ -100,7 +100,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 xattr (2)"
 setfattr -n "user.x00000000" -v "1111111111111111" "${SCRATCH_MNT}/attrfile" || _fail "modified corrupt xattr"