projects
/
xfstests-dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
common/rc: generalize _get_filesize()
[xfstests-dev.git]
/
common
/
populate
diff --git
a/common/populate
b/common/populate
index eeac66d70c4a030bd29efcf4e14d8fc119d8e382..0b036051c8c30c738813826fe633942d76d74d17 100644
(file)
--- a/
common/populate
+++ b/
common/populate
@@
-777,7
+777,7
@@
_fill_fs()
fi
if [ -f $dir/$file_count ]; then
- bytes_written=$(
stat -c '%s'
$dir/$file_count)
+ bytes_written=$(
_get_filesize
$dir/$file_count)
fi
# If there was no room to make the file, then divide it in