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:
Josef Bacik
2016-04-05 11:46:12 +10:00
committed by Dave Chinner
parent ddc9483644
commit 102ffa0c96
34 changed files with 41 additions and 41 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ echo "No dump exclude flag set (should not be skipped)"
_do_dump
echo "Dump exclude flag set, but no sync yet (should be skipped)"
chattr +d $TEST_DIR/d/t
$CHATTR_PROG +d $TEST_DIR/d/t
_do_dump
echo "Dump exclude flag set, after sync (should be skipped)"