mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-11-27 20:14:46 +08:00
5cf8bb1100
If the TEST_BITS file is sparse, then the "debugfs -R write" command may skip holes in the file when copying it into the test image (depending on whether SEEK_HOLE/SEEK_DATA and/or FIEMAP are available in the copy_file() function). This was causing test failures on MacOS in the f_dup_resize and d_loaddump tests because the TEST_BITS file was the compiled "debugfs" binary, which apparently has holes when built on MacOS, and the number of blocks allocated in the test image was reduced as a result. This caused the expect output to differ in the summary line and resulted in failure. Instead of using the debugfs binary for TEST_BITS, generate a temporary file using /dev/urandom, if available. If not, fall back to the old behaviour or using debugfs. [ Fixed up use of non-POSIX /bin/sh constructs and add test_data.tmp to .gitignore and files to be deleted on a make clean. --tytso ] Signed-off-by: Andreas Dilger <adilger@dilger.ca> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
236 lines
3.9 KiB
Plaintext
236 lines
3.9 KiB
Plaintext
autom4te.cache
|
|
build
|
|
build.profiled
|
|
build.static
|
|
FILES
|
|
^core
|
|
*~
|
|
patches
|
|
Makefile
|
|
*.bak
|
|
*.diff
|
|
*.dSYM
|
|
*.o
|
|
*.a
|
|
*.orig
|
|
*.patch
|
|
*.pc
|
|
*.rej
|
|
*.swp
|
|
00[0-9][1-9]*.patch
|
|
MCONFIG
|
|
asm_types.h
|
|
config.log
|
|
config.status
|
|
cscope.*
|
|
debugfs/extent_cmds.c
|
|
debugfs/debug_cmds.c
|
|
debugfs/debugfs
|
|
debugfs/debugfs.8
|
|
debugfs/extent_cmds.c
|
|
debugfs/tst_set_fields
|
|
doc/libext2fs.aux
|
|
doc/libext2fs.cp
|
|
doc/libext2fs.dvi
|
|
doc/libext2fs.fn
|
|
doc/libext2fs.fns
|
|
doc/libext2fs.info
|
|
doc/libext2fs.ky
|
|
doc/libext2fs.log
|
|
doc/libext2fs.pg
|
|
doc/libext2fs.toc
|
|
doc/libext2fs.tp
|
|
doc/libext2fs.vr
|
|
e2fsck/crc32table.h
|
|
e2fsck/e2fsck
|
|
e2fsck/e2fsck.8
|
|
e2fsck/e2fsck.conf.5
|
|
e2fsck/e2fsck.shared
|
|
e2fsck/e2fsck.static
|
|
e2fsck/gen_crc32table
|
|
e2fsck/prof_err.c
|
|
e2fsck/prof_err.h
|
|
e2fsck/tst_crc32
|
|
e2fsck/tst_problem
|
|
e2fsck/tst_refcount
|
|
e2fsck/tst_region
|
|
e2fsprogs.spec
|
|
ext2ed/ext2ed.conf
|
|
ext2ed/ext2ed.8
|
|
intl/charset.alias
|
|
intl/libgnuintl.h
|
|
intl/libintl.a
|
|
intl/libintl.h
|
|
intl/ref-add.sed
|
|
intl/ref-del.sed
|
|
lib/blkid/blkid.h
|
|
lib/blkid/blkid.pc
|
|
lib/blkid/blkid_types.h
|
|
lib/blkid/libblkid.3
|
|
lib/blkid/subdirs
|
|
lib/blkid/test_probe
|
|
lib/blkid/tests/*.ok
|
|
lib/blkid/tests/*.out
|
|
lib/blkid/tests/tmp
|
|
lib/blkid/tst_cache
|
|
lib/blkid/tst_dev
|
|
lib/blkid/tst_devname
|
|
lib/blkid/tst_devno
|
|
lib/blkid/tst_getsize
|
|
lib/blkid/tst_probe
|
|
lib/blkid/tst_read
|
|
lib/blkid/tst_resolve
|
|
lib/blkid/tst_save
|
|
lib/blkid/tst_tag
|
|
lib/blkid/tst_types
|
|
lib/config.h
|
|
lib/dirpaths.h
|
|
lib/e2p/e2p.pc
|
|
lib/e2p/subdirs
|
|
lib/e2p/tst_feature
|
|
lib/e2p/tst_ostype
|
|
lib/et/com_err.pc
|
|
lib/et/compile_et
|
|
lib/et/subdirs
|
|
lib/ext2fs/crc32c_table.h
|
|
lib/ext2fs/debug_cmds.c
|
|
lib/ext2fs/ext2_err.c
|
|
lib/ext2fs/ext2_err.et
|
|
lib/ext2fs/ext2_err.h
|
|
lib/ext2fs/ext2_types.h
|
|
lib/ext2fs/ext2fs.pc
|
|
lib/ext2fs/extent_cmds.c
|
|
lib/ext2fs/gen_crc32ctable
|
|
lib/ext2fs/subdirs
|
|
lib/ext2fs/tst_badblocks
|
|
lib/ext2fs/tst_bitmaps
|
|
lib/ext2fs/tst_bitmaps_cmd.c
|
|
lib/ext2fs/tst_bitmaps_out
|
|
lib/ext2fs/tst_bitops
|
|
lib/ext2fs/tst_cmds.c
|
|
lib/ext2fs/tst_csum
|
|
lib/ext2fs/tst_crc32c
|
|
lib/ext2fs/tst_digest_encode
|
|
lib/ext2fs/tst_getsectsize
|
|
lib/ext2fs/tst_getsize
|
|
lib/ext2fs/tst_icount
|
|
lib/ext2fs/tst_inline
|
|
lib/ext2fs/tst_inline_data
|
|
lib/ext2fs/tst_inode_size
|
|
lib/ext2fs/tst_iscan
|
|
lib/ext2fs/tst_libext2fs
|
|
lib/ext2fs/tst_sha256
|
|
lib/ext2fs/tst_sha512
|
|
lib/ext2fs/tst_super_size
|
|
lib/ext2fs/tst_types
|
|
lib/quota/subdirs
|
|
lib/ss/mk_cmds
|
|
lib/ss/ss.pc
|
|
lib/ss/ss_err.c
|
|
lib/ss/ss_err.h
|
|
lib/ss/std_rqs.c
|
|
lib/ss/subdirs
|
|
lib/ss/test.diff
|
|
lib/ss/test_cmd.c
|
|
lib/ss/test_out
|
|
lib/ss/test_ss
|
|
lib/support/prof_err.c
|
|
lib/support/prof_err.h
|
|
lib/support/subdirs
|
|
lib/uuid/subdirs
|
|
lib/uuid/tst_uuid
|
|
lib/uuid/uuid.3
|
|
lib/uuid/uuid.h
|
|
lib/uuid/uuid.pc
|
|
lib/uuid/uuid_clear.3
|
|
lib/uuid/uuid_compare.3
|
|
lib/uuid/uuid_copy.3
|
|
lib/uuid/uuid_generate.3
|
|
lib/uuid/uuid_is_null.3
|
|
lib/uuid/uuid_parse.3
|
|
lib/uuid/uuid_time
|
|
lib/uuid/uuid_time.3
|
|
lib/uuid/uuid_types.h
|
|
lib/uuid/uuid_unparse.3
|
|
misc/badblocks
|
|
misc/badblocks.8
|
|
misc/base_device
|
|
misc/base_device.out
|
|
misc/blkid
|
|
misc/blkid.8
|
|
misc/chattr
|
|
misc/chattr.1
|
|
misc/default_profile.c
|
|
misc/dumpe2fs
|
|
misc/dumpe2fs.8
|
|
misc/e2freefrag
|
|
misc/e2freefrag.8
|
|
misc/e2fuzz
|
|
misc/e2image
|
|
misc/e2image.8
|
|
misc/e2initrd_helper
|
|
misc/e2label.8
|
|
misc/e2undo
|
|
misc/e2undo.8
|
|
misc/e4crypt
|
|
misc/e4crypt.8
|
|
misc/e4defrag
|
|
misc/e4defrag.8
|
|
misc/ext4.5
|
|
misc/filefrag
|
|
misc/filefrag.8
|
|
misc/findfs.8
|
|
misc/findsuper
|
|
misc/fsck
|
|
misc/fsck.8
|
|
misc/fuse2fs
|
|
misc/fuse2fs.1
|
|
misc/logsave
|
|
misc/logsave.8
|
|
misc/lsattr
|
|
misc/lsattr.1
|
|
misc/mke2fs
|
|
misc/mke2fs.8
|
|
misc/mke2fs.conf.5
|
|
misc/mke2fs.conf
|
|
misc/mklost+found
|
|
misc/mklost+found.8
|
|
misc/prof_err.c
|
|
misc/prof_err.h
|
|
misc/profile.h
|
|
misc/tune2fs
|
|
misc/tune2fs.8
|
|
misc/uuidd
|
|
misc/uuidd.8
|
|
misc/uuidgen
|
|
misc/uuidgen.1
|
|
ncscope.*
|
|
parse-types.log
|
|
po/Makefile.in
|
|
po/POTFILES
|
|
public_config.h
|
|
resize/resize2fs
|
|
resize/resize2fs.8
|
|
resize/test_extent
|
|
resize/test_extent.out
|
|
tags
|
|
TAGS
|
|
tests/progs/test_icount
|
|
tests/progs/test_icount_cmds.c
|
|
tests/progs/crcsum
|
|
tests/*.ok
|
|
tests/*.failed
|
|
tests/*.log
|
|
tests/*.tmp
|
|
tests/*.slow
|
|
tests/test_data.tmp
|
|
tests/mke2fs.conf
|
|
tests/test_script
|
|
tests/test_one
|
|
util/dirpaths.h
|
|
util/gen-tarball
|
|
util/install-symlink
|
|
util/subst
|
|
util/subst.conf
|
|
Meta
|