Bug 35314 - Test case for UMCP command umc/object/policies for non-UCR-policies
Test case for UMCP command umc/object/policies for non-UCR-policies
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: UMC
unspecified
All Linux
: P5 normal (vote)
: ---
Assigned To: Dmitry Galkin
Philipp Hahn
:
Depends on: 35423
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-08 12:44 CEST by Philipp Hahn
Modified: 2023-03-25 06:50 CET (History)
4 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2014-07-08 12:44:33 CEST
+++ This bug was initially created as a clone of Bug #32271 +++
The test 60_umc/04_policies currently only uses a UCR policy, which is handled differently from other policies: The valued from multiple UCR policies are merged, while for non-UCR-policies only the most specific policy wins (in absence of fixed attributes).

At least on test should be added which uses a non-UCR-policy.
The following things should be checked:
- one policy at base
- one policy at intermediate container
- one policy at object itself
- multiple policies
- policies with fixed attributes
- policies with required object classes
- policies with excluded object classes
- policies with empty attributes

The test should assert that the UMC command "udm/object/policies" returns the right values in those cases.
Comment 1 Dmitry Galkin univentionstaff 2014-07-21 15:03:40 CEST
r52008:

 * 60_umc/06_non-ucr-policies: a test for non-UCR policies
   handling in the UMC (Bug #35314)


Note: after Bug #35423 is resolved, line 299 in the test should be uncommented.
Comment 2 Philipp Hahn univentionstaff 2014-07-22 09:54:43 CEST
OK: r52008
OK: ./06_non-ucr-policies -f
OK: Bug #35423
RFA: ucs-test needs to be re-build