From: Christopher Hoffman Date: Tue, 17 Feb 2026 18:50:01 +0000 (+0000) Subject: test: Use do_ceph_mount in ManyNestedDirsCaseInsensitive X-Git-Tag: v21.0.0~54^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9adbb8821d565c4c8e1952bdce0e2b2677519862;p=ceph.git test: Use do_ceph_mount in ManyNestedDirsCaseInsensitive Since do_ceph_mount is used to overload the mount function for fscrypt and regular tests, ensure overloaded function is used. This wasn't the case before, and testing CaseInsensitive was not done properly on fscrypt. Fixes: https://tracker.ceph.com/issues/74934 Signed-off-by: Christopher Hoffman --- diff --git a/src/test/libcephfs/test.cc b/src/test/libcephfs/test.cc index 8d06dba3b0db..46b1c3a90388 100644 --- a/src/test/libcephfs/test.cc +++ b/src/test/libcephfs/test.cc @@ -582,7 +582,7 @@ TEST(LibCephFS, ManyNestedDirsCaseInsensitive) { ASSERT_EQ(ceph_create(&cmount, NULL), 0); ASSERT_EQ(ceph_conf_read_file(cmount, NULL), 0); ASSERT_EQ(0, ceph_conf_parse_env(cmount, NULL)); - ASSERT_EQ(ceph_mount(cmount, NULL), 0); + ASSERT_EQ(do_ceph_mount(cmount, NULL), 0); static const char many_path[] = "/ManyNestedDirsCaseInsensitive/A/a/a/a/a/b/B/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/Aa"; const filepath mfp = filepath(many_path);