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