shadow_copy: Add test for missing directory in "current" fileset
authorVolker Lendecke <vl@samba.org>
Thu, 28 Dec 2023 13:20:11 +0000 (14:20 +0100)
committerJule Anger <janger@samba.org>
Mon, 8 Jan 2024 12:50:18 +0000 (12:50 +0000)
commite97ec6ffb7aeeaf7d3faa29691aa613c94c71a22
tree2b875e2bfe387d1c30f4a13ad34005c58ce07455
parent50f74d0488438e722eaeb492ae40f07432eb4530
shadow_copy: Add test for missing directory in "current" fileset

Right now we can't traverse a subdirectory in a snapshot which was
deleted in the current set of files.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=15544

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit a0bfadb32b83ab1e58290f84c298d345e21866d9)
selftest/knownfail.d/shadow_copy2 [new file with mode: 0644]
source3/script/tests/test_shadow_copy.sh