Changeset View
Changeset View
Standalone View
Standalone View
tests/sys/fs/tarfs/tarfs_test.sh
| Show First 20 Lines • Show All 395 Lines • ▼ Show 20 Lines | tarfs_git_archive_cleanup() { | ||||
| tarfs_cleanup | tarfs_cleanup | ||||
| } | } | ||||
| atf_test_case tarfs_large cleanup | atf_test_case tarfs_large cleanup | ||||
| tarfs_large_head() { | tarfs_large_head() { | ||||
| atf_set "descr" "Test support for large files" | atf_set "descr" "Test support for large files" | ||||
| atf_set "require.user" "root" | atf_set "require.user" "root" | ||||
| atf_set "require.kmods" "tarfs" | atf_set "require.kmods" "tarfs" | ||||
| atf_set "timeout" "600" | atf_set "timeout" "900" | ||||
| } | } | ||||
| tarfs_large_body() { | tarfs_large_body() { | ||||
| tarfs_setup | tarfs_setup | ||||
| local tarball="${PWD}/tarfs_test.tar.zst" | local tarball="${PWD}/tarfs_test.tar.zst" | ||||
| local exp off | local exp off | ||||
| for exp in 31 32 33 34 35 36 ; do | for exp in 31 32 33 34 35 36 ; do | ||||
| for off in 1 0 ; do | for off in 1 0 ; do | ||||
| local size=$(((1<<exp)-off)) | local size=$(((1<<exp)-off)) | ||||
| Show All 32 Lines | |||||