Skip to content

Commit aad3010

Browse files
committed
EH: CS-2074: Automated tests for RBAC rule engine (match_rule, collect_perm_rules, default-deny)
1 parent 3848d03 commit aad3010

2 files changed

Lines changed: 408 additions & 0 deletions

File tree

test/libs/sgeobj/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ target_include_directories(test_sgeobj_utility PRIVATE "./")
6565
target_link_libraries(test_sgeobj_utility PRIVATE sgeobj cull comm commlists uti ${SGE_LIBS})
6666
add_test(NAME test_sgeobj_utility COMMAND test_sgeobj_utility)
6767

68+
add_executable(test_sgeobj_role test_sgeobj_role.cc)
69+
target_include_directories(test_sgeobj_role PRIVATE "./")
70+
target_link_libraries(test_sgeobj_role PRIVATE sgeobj cull comm commlists uti ${SGE_LIBS})
71+
add_test(NAME test_sgeobj_role COMMAND test_sgeobj_role)
72+
6873
if (INSTALL_SGE_TEST)
6974
install(TARGETS test_sgeobj_eval_expression DESTINATION testbin/${SGE_ARCH})
7075
install(TARGETS test_sgeobj_performance DESTINATION testbin/${SGE_ARCH})
@@ -75,4 +80,5 @@ if (INSTALL_SGE_TEST)
7580
install(TARGETS test_sgeobj_resource_quota DESTINATION testbin/${SGE_ARCH})
7681
install(TARGETS test_sgeobj_schedd_conf DESTINATION testbin/${SGE_ARCH})
7782
install(TARGETS test_sgeobj_utility DESTINATION testbin/${SGE_ARCH})
83+
install(TARGETS test_sgeobj_role DESTINATION testbin/${SGE_ARCH})
7884
endif ()

0 commit comments

Comments
 (0)