projects
/
xfstests-dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
btrfs/012: check free size of scratch device before copying files
[xfstests-dev.git]
/
tests
/
btrfs
/
012
diff --git
a/tests/btrfs/012
b/tests/btrfs/012
index fd43da5333dcc3112760cc700e6456f97716ead4..2d4cece52b8083c72e41de7d11b37a890891cd41 100755
(executable)
--- a/
tests/btrfs/012
+++ b/
tests/btrfs/012
@@
-42,6
+42,8
@@
_require_command "$BTRFS_CONVERT_PROG" btrfs-convert
_require_command "$MKFS_EXT4_PROG" mkfs.ext4
_require_command "$E2FSCK_PROG" e2fsck
+_require_fs_space $SCRATCH_MNT $(du -s /lib/modules/`uname -r` | ${AWK_PROG} '{print $1}')
+
rm -f $seqres.full
BLOCK_SIZE=`_get_block_size $TEST_DIR`