mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 19:39:35 +03:00
669683c4cb
While "diff -r" is the most straightforward way of comparing directory trees for differences, it has two major issues: * File metadata is not compared, which means that subtle bugs may be missed even if a test is written that exercises the buggy behaviour. * diff(1) doesn't know how to compare special files -- it assumes they are always different, which means that a test using diff(1) on special files will always fail (resulting in such tests not being added). rsync can be used in a very similar manner to diff (with the -ni flags), but has the additional benefit of being able to detect and resolve many more differences between directory trees. In addition, rsync has a standard set of features and flags while diffs feature set depends on whether you're using GNU or BSD binutils. Note that for several of the test cases we expect that file timestamps will not match. For example, the ctime for a file creation or modify event is stored in the intent log but not the mtime. Thus when replaying the log the correct ctime is set but the current mtime is used. This is the expected behavior, so to prevent these tests from failing, there's a replay_directory_diff function which ignores those kinds of changes. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Aleksa Sarai <cyphar@cyphar.com> Closes #12588
50 lines
475 B
Plaintext
50 lines
475 B
Plaintext
acl
|
|
alien
|
|
attr
|
|
autoconf
|
|
bc
|
|
build-essential
|
|
curl
|
|
dbench
|
|
fakeroot
|
|
fio
|
|
gdb
|
|
gdebi
|
|
git
|
|
ksh
|
|
lcov
|
|
libacl1-dev
|
|
libaio-dev
|
|
libattr1-dev
|
|
libblkid-dev
|
|
libcurl4-openssl-dev
|
|
libdevmapper-dev
|
|
libelf-dev
|
|
libffi-dev
|
|
libmount-dev
|
|
libpam0g-dev
|
|
libselinux-dev
|
|
libssl-dev
|
|
libtool
|
|
libudev-dev
|
|
lsscsi
|
|
mdadm
|
|
nfs-kernel-server
|
|
pamtester
|
|
parted
|
|
python3
|
|
python3-cffi
|
|
python3-dev
|
|
python3-packaging
|
|
python3-setuptools
|
|
rng-tools
|
|
rsync
|
|
samba
|
|
sysstat
|
|
uuid-dev
|
|
watchdog
|
|
wget
|
|
xfslibs-dev
|
|
xz-utils
|
|
zlib1g-dev
|