mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Test out xfsdump'ing of a large file with size greater
than 32 bits - to test out the libhandle O_LARGEFILE support.
This commit is contained in:
+11
@@ -530,6 +530,17 @@ _do_create_dumpdir_fill()
|
||||
cd $here
|
||||
}
|
||||
|
||||
_create_dumpdir_largefile()
|
||||
{
|
||||
_wipe_fs
|
||||
mkdir -p $dump_dir ||\
|
||||
_error "cannot mkdir \"$dump_dir\""
|
||||
_largesize=4294967297
|
||||
_largefile=$dump_dir/largefile
|
||||
echo "dd a largefile at offset $_largesize"
|
||||
dd if=/dev/zero of=$_largefile bs=1 seek=$_largesize count=10 2>&1
|
||||
_stable_fs
|
||||
}
|
||||
|
||||
_create_dumpdir_fill()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user