1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

testing: case insensitive lookups fail in shadow_copy2 snapshots

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>
This commit is contained in:
Volker Lendecke 2024-01-16 11:42:43 +01:00 committed by Jeremy Allison
parent c09d1a3ac1
commit 6afcb7f0db
2 changed files with 13 additions and 0 deletions

View File

@ -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.*\)

View File

@ -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`