Skip to content

Commit b2a07f8

Browse files
committed
test/libcephfs: add ceph_test_libcephfs_vxattr
Fixes: https://tracker.ceph.com/issues/64679 Signed-off-by: Xiubo Li <[email protected]>
1 parent 1a27670 commit b2a07f8

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

qa/workunits/libcephfs/test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ ceph_test_libcephfs_lazyio
77
ceph_test_libcephfs_newops
88
ceph_test_libcephfs_suidsgid
99
ceph_test_libcephfs_snapdiff
10+
ceph_test_libcephfs_vxattr
1011

1112
exit 0

src/test/libcephfs/CMakeLists.txt

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ if(WITH_LIBCEPHFS)
1010
main.cc
1111
deleg.cc
1212
monconfig.cc
13-
vxattr.cc
1413
)
1514
target_link_libraries(ceph_test_libcephfs
1615
ceph-common
@@ -50,6 +49,21 @@ if(WITH_LIBCEPHFS)
5049
install(TARGETS ceph_test_libcephfs_suidsgid
5150
DESTINATION ${CMAKE_INSTALL_BINDIR})
5251

52+
add_executable(ceph_test_libcephfs_vxattr
53+
vxattr.cc
54+
main.cc
55+
)
56+
target_link_libraries(ceph_test_libcephfs_vxattr
57+
ceph-common
58+
cephfs
59+
librados
60+
${UNITTEST_LIBS}
61+
${EXTRALIBS}
62+
${CMAKE_DL_LIBS}
63+
)
64+
install(TARGETS ceph_test_libcephfs_vxattr
65+
DESTINATION ${CMAKE_INSTALL_BINDIR})
66+
5367
add_executable(ceph_test_libcephfs_newops
5468
main.cc
5569
newops.cc

0 commit comments

Comments
 (0)