1test_description="very large fs growth using ext4 w/64bit" 2if ! test -x $RESIZE2FS_EXE -o ! -x $DEBUGFS_EXE; then 3 echo "$test_name: $test_description: skipped (no debugfs/resize2fs)" 4 return 0 5fi 6 7FEATURES="-t ext4 -O 64bit" 8SIZE_1=512M 9SIZE_2=2T 10LOG=$test_name.log 11E2FSCK=../e2fsck/e2fsck 12 13if [ $(uname -s) = "FreeBSD" ]; then 14 # creates a 2TB filesystem 15 echo "$test_name: $DESCRIPTION: skipped for FreeBSD" 16 return 0 17fi 18 19. $cmd_dir/scripts/resize_test 20 21resize_test 22RC=$? 23if [ $RC -eq 0 ]; then 24 echo "$test_name: $test_description: ok" 25 touch $test_name.ok 26elif [ $RC -eq 111 ]; then 27 echo "$test_name: $test_description: skipped (no large sparse files)" 28 touch $test_name.ok 29else 30 echo "$test_name: $test_description: failed" 31 ln $LOG $test_name.failed 32fi 33 34unset FEATURES SIZE_1 SIZE_2 LOG E2FSCK 35