From 9adbb8821d565c4c8e1952bdce0e2b2677519862 Mon Sep 17 00:00:00 2001 From: Christopher Hoffman Date: Tue, 17 Feb 2026 18:50:01 +0000 Subject: [PATCH] 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 --- src/test/libcephfs/test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/libcephfs/test.cc b/src/test/libcephfs/test.cc index 8d06dba3b0d..46b1c3a9038 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); -- 2.47.3