testing: case insensitive lookups fail in shadow_copy2 snapshots
authorVolker Lendecke <vl@samba.org>
Tue, 16 Jan 2024 10:42:43 +0000 (11:42 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 16 Jan 2024 18:40:32 +0000 (18:40 +0000)
Bug: https://bugzilla.samba.org/show_bug.cgi?id=15556

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/knownfail.d/shadow_copy2_ci [new file with mode: 0644]
source3/script/tests/test_shadow_copy.sh

diff --git a/selftest/knownfail.d/shadow_copy2_ci b/selftest/knownfail.d/shadow_copy2_ci
new file mode 100644 (file)
index 0000000..4843807
--- /dev/null
@@ -0,0 +1,9 @@
+^samba3.blackbox.shadow_copy2.*.shadow copies with wide links allowed - regular file in case insensitive subdir\(fileserver.*\)
+^samba3.blackbox.shadow_copy2.*.full volume snapshots mounted under volume - regular file in case insensitive subdir\(fileserver.*\)
+^samba3.blackbox.shadow_copy2.*.full volume snapshots mounted outside volume - regular file in case insensitive subdir\(fileserver.*\)
+^samba3.blackbox.shadow_copy2.*.sub volume snapshots mounted under snapshot point - regular file in case insensitive subdir\(fileserver.*\)
+^samba3.blackbox.shadow_copy2.*.sub volume snapshots mounted outside - regular file in case insensitive subdir\(fileserver.*\)
+^samba3.blackbox.shadow_copy2.*.full volume snapshots and share mounted outside - regular file in case insensitive subdir\(fileserver.*\)
+^samba3.blackbox.shadow_copy2.*.logical snapshot layout - regular file in case insensitive subdir\(fileserver.*\)
+^samba3.blackbox.shadow_copy2.*.'everywhere' full volume snapshots - regular file in case insensitive subdir\(fileserver.*\)
+^samba3.blackbox.shadow_copy2.*.'everywhere' sub volume snapshots - regular file in case insensitive subdir\(fileserver.*\)
index 3141df3568df38ac558fdf8efda17159c09514c3..dd6699f2310980167321ff45d95f55c6a6b17584 100755 (executable)
@@ -275,6 +275,10 @@ test_shadow_copy_fixed()
         test_count_versions $share bar/baz $ncopies_allowed || \
         failed=`expr $failed + 1`
 
+    testit "$msg - regular file in case insensitive subdir" \
+        test_count_versions $share bar/bAz $ncopies_allowed || \
+        failed=`expr $failed + 1`
+
     testit "$msg - local symlink" \
         test_count_versions $share bar/lfoo $ncopies_allowed || \
         failed=`expr $failed + 1`