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