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