From: Volker Lendecke Date: Tue, 16 Jan 2024 10:42:43 +0000 (+0100) Subject: testing: case insensitive lookups fail in shadow_copy2 snapshots X-Git-Tag: talloc-2.4.2~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6afcb7f0dbfe741e43b2070f8a78d87cdb73e042;p=thirdparty%2Fsamba.git testing: case insensitive lookups fail in shadow_copy2 snapshots Bug: https://bugzilla.samba.org/show_bug.cgi?id=15556 Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/selftest/knownfail.d/shadow_copy2_ci b/selftest/knownfail.d/shadow_copy2_ci new file mode 100644 index 00000000000..4843807ffec --- /dev/null +++ b/selftest/knownfail.d/shadow_copy2_ci @@ -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.*\) diff --git a/source3/script/tests/test_shadow_copy.sh b/source3/script/tests/test_shadow_copy.sh index 3141df3568d..dd6699f2310 100755 --- a/source3/script/tests/test_shadow_copy.sh +++ b/source3/script/tests/test_shadow_copy.sh @@ -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`