• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1if test -x $RESIZE2FS_EXE -a -x $DEBUGFS_EXE; then
2
3test_description="ext4 1024 blocksize with small block groups"
4FEATURES="-t ext4 -O ^resize_inode -b 1024 -g 512"
5SIZE_1=64M
6SIZE_2=2G
7LOG=$test_name.log
8E2FSCK=../e2fsck/e2fsck
9
10
11. $cmd_dir/scripts/resize_test
12
13resize_test
14RC=$?
15if [ $RC -eq 0 ]; then
16	echo "$test_name: $test_description: ok"
17	touch $test_name.ok
18elif [ $RC -eq 111 ]; then
19	echo "$test_name: $test_description: skipped"
20	touch $test_name.ok
21else
22	echo "$test_name: $test_description: failed"
23	ln $LOG $test_name.failed
24fi
25
26unset FEATURES SIZE_1 SIZE_2 LOG E2FSCK
27
28else #if test -x $RESIZE2FS_EXE -a -x $DEBUGFS_EXE; then
29	echo "$test_name: $test_description: skipped"
30fi
31
32