]>
Commit | Line | Data |
---|---|---|
e79a9395 | 1 | test_description="ext4 1024 blocksize with small block groups" |
3819bff4 AD |
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 | ||
e79a9395 TT |
7 | FEATURES="-t ext4 -O ^resize_inode -b 1024 -g 512" |
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 | ||
5bb66e37 AD |
16 | resize_test |
17 | RC=$? | |
18 | if [ $RC -eq 0 ]; then | |
e79a9395 TT |
19 | echo "$test_name: $test_description: ok" |
20 | touch $test_name.ok | |
5bb66e37 AD |
21 | elif [ $RC -eq 111 ]; then |
22 | echo "$test_name: $test_description: skipped" | |
23 | touch $test_name.ok | |
e79a9395 TT |
24 | else |
25 | echo "$test_name: $test_description: failed" | |
5bb66e37 | 26 | ln $LOG $test_name.failed |
e79a9395 TT |
27 | fi |
28 | ||
29 | unset FEATURES SIZE_1 SIZE_2 LOG E2FSCK |