netcmd: Add test for an offline backup of a directory containing hardlinks
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 16 Mar 2021 03:13:05 +0000 (16:13 +1300)
committerKarolin Seeger <kseeger@samba.org>
Tue, 13 Jul 2021 12:31:15 +0000 (12:31 +0000)
commit6569d0b99672e8752eb13704056094a729d929c5
treed6431a78b2d8cbac2d0ada7177b629f8b5b6cdf4
parentd0bde5703b25fb34a0b672422c052909b1acbbef
netcmd: Add test for an offline backup of a directory containing hardlinks

This test verifies that when performing an offline backup of a domain
where the directories to be backed up contain hardlinks, only one
instance of each file is backed up, and that files in the private
directory take precedence.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14027

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
(cherry picked from commit 0e5738887524b467bfebcf657bcb00ed71827784)
python/samba/tests/domain_backup_offline.py
selftest/knownfail.d/bug-14027 [new file with mode: 0644]