2013-04-01 04:34:24 +04:00
|
|
|
if test -x $RESIZE2FS_EXE -a -x $DEBUGFS_EXE; then
|
|
|
|
|
|
|
|
test_description="very large fs growth using ext4 w/64bit"
|
|
|
|
FEATURES="-t ext4 -O 64bit"
|
|
|
|
SIZE_1=512M
|
|
|
|
SIZE_2=2T
|
|
|
|
LOG=$test_name.log
|
|
|
|
E2FSCK=../e2fsck/e2fsck
|
|
|
|
|
2016-06-07 18:52:25 +03:00
|
|
|
if [ $(uname -s) = "FreeBSD" ]; then
|
|
|
|
# creates a 2TB filesystem
|
|
|
|
echo "$test_name: $DESCRIPTION: skipped for FreeBSD"
|
|
|
|
return 0
|
|
|
|
fi
|
2013-04-01 04:34:24 +04:00
|
|
|
|
|
|
|
. $cmd_dir/scripts/resize_test
|
|
|
|
|
2013-12-03 09:11:55 +04:00
|
|
|
resize_test
|
|
|
|
RC=$?
|
|
|
|
if [ $RC -eq 0 ]; then
|
2013-04-01 04:34:24 +04:00
|
|
|
echo "$test_name: $test_description: ok"
|
|
|
|
touch $test_name.ok
|
2013-12-03 09:11:55 +04:00
|
|
|
elif [ $RC -eq 111 ]; then
|
|
|
|
echo "$test_name: $test_description: skipped"
|
|
|
|
touch $test_name.ok
|
2013-04-01 04:34:24 +04:00
|
|
|
else
|
|
|
|
echo "$test_name: $test_description: failed"
|
2014-04-14 20:48:16 +04:00
|
|
|
ln $LOG $test_name.failed
|
2013-04-01 04:34:24 +04:00
|
|
|
fi
|
|
|
|
|
|
|
|
unset FEATURES SIZE_1 SIZE_2 LOG E2FSCK
|
|
|
|
|
|
|
|
else #if test -x $RESIZE2FS_EXE -a -x $DEBUGFS_EXE; then
|
|
|
|
echo "$test_name: $test_description: skipped"
|
|
|
|
fi
|
|
|
|
|