Home | History | Annotate | Download | only in r_1024_small_bg
      1 test_description="ext2 1024 blocksize with small block groups"
      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 ext2 -O ^resize_inode -b 1024 -g 1024"
      8 SIZE_1=64M
      9 SIZE_2=2G
     10 LOG=$test_name.log
     11 E2FSCK=../e2fsck/e2fsck
     12 
     13 
     14 . $cmd_dir/scripts/resize_test
     15 
     16 resize_test
     17 RC=$?
     18 if [ $RC -eq 0 ]; then
     19 	echo "$test_name: $test_description: ok"
     20 	touch $test_name.ok
     21 elif [ $RC -eq 111 ]; then
     22 	echo "$test_name: $test_description: skipped (no large sparse files)"
     23 	touch $test_name.ok
     24 else
     25 	echo "$test_name: $test_description: failed"
     26 	ln $LOG $test_name.failed
     27 fi
     28 
     29 unset FEATURES SIZE_1 SIZE_2 LOG E2FSCK
     30 
     31