mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
committed by
Dave Chinner
parent
0e01e7f639
commit
ea002f7e4e
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user