]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blob - tests/r_ext4_big_expand/script
tests: check backing filesystem can handle large file
[thirdparty/e2fsprogs.git] / tests / r_ext4_big_expand / script
1 if test -x $RESIZE2FS_EXE -a -x $DEBUGFS_EXE; then
2
3 test_description="very large fs growth using ext4"
4 FEATURES="-t ext4"
5 SIZE_1=512M
6 SIZE_2=2T
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 touch $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