mirror_zfs/tests/zfs-tests/tests/functional/mv_files
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
..
cleanup.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
Makefile.am Add test with two kinds of file creation orders 2018-04-30 12:45:47 -05:00
mv_files_001_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
mv_files_002_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
mv_files_common.kshlib ZTS: fix spurious failures in mv_files 2018-03-02 09:57:29 -08:00
mv_files.cfg Add test with two kinds of file creation orders 2018-04-30 12:45:47 -05:00
random_creation.ksh Add test with two kinds of file creation orders 2018-04-30 12:45:47 -05:00
setup.ksh Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00