tests: Use stat -c

Change all occurrences of stat --format and stat --printf to stat -c
so that the tests work correctly on BusyBox systems.

Signed-off-by: Ari Sundholm <ari@tuxera.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Ari Sundholm
2014-09-29 13:07:26 +10:00
committed by Dave Chinner
parent 0e01e7f639
commit ea002f7e4e
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ _require_user
echo "Preparing subtree"
mkdir $TEST_DIR/d
touch $TEST_DIR/d/t
inum=`stat --format "%i" $TEST_DIR/d/t`
inum=`stat -c "%i" $TEST_DIR/d/t`
echo "No dump exclude flag set (should not be skipped)"
_do_dump