mirror_zfs/tests/zfs-tests/tests/functional/mv_files/Makefile.am
Antonio Russo c83ccb3e72 Add test with two kinds of file creation orders
Data loss was identified in #7401 when many small files were copied.
This adds a reproducer for this bug and other similar ones: randomly
generate N files. Then, listing M of them by `ls -U` order, produce
those same files in a directory of the same name.

This triggers the bug consistently, provided N and M are large enough.
Here, N=2^16 and M=2^13.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Antonio Russo <antonio.e.russo@gmail.com>
Closes #7411
2018-04-30 12:45:47 -05:00

12 lines
255 B
Makefile

pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/mv_files
dist_pkgdata_SCRIPTS = \
setup.ksh \
cleanup.ksh \
mv_files_001_pos.ksh \
mv_files_002_pos.ksh \
random_creation.ksh
dist_pkgdata_DATA = \
mv_files.cfg \
mv_files_common.kshlib