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