tests: update expect file for u_direct_io
[e2fsprogs.git] / tests / r_64bit_big_expand / script
blobd1bf8cdbbb8d3d22db7b1b2847b8b45e65e1eae1
1 test_description="very large fs growth using ext4 w/64bit"
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
7 FEATURES="-t ext4 -O 64bit"
8 SIZE_1=512M
9 SIZE_2=2T
10 LOG=$test_name.log
11 E2FSCK=../e2fsck/e2fsck
13 os=$(uname -s)
14 if [ "$os" = "Darwin" -o "$os" = "GNU" -o "FreeBSD" ]; then
15         # creates a 2TB filesystem
16         echo "$test_name: $test_description: skipped for $os"
17         return 0
20 . $cmd_dir/scripts/resize_test
22 resize_test
23 RC=$?
24 if [ $RC -eq 0 ]; then
25         echo "$test_name: $test_description: ok"
26         touch $test_name.ok
27 elif [ $RC -eq 111 ]; then
28         echo "$test_name: $test_description: skipped (no large sparse files)"
29         touch $test_name.ok
30 else
31         echo "$test_name: $test_description: failed"
32         ln $LOG $test_name.failed
35 unset FEATURES SIZE_1 SIZE_2 LOG E2FSCK