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