#6262 Fix integration sudo tests setup and checks
Closed: Fixed Opened by lryznaro.

In integration sudo tests a sudorule 'defaults' is missing that would prevent request for authentication, which caused tests to produce incorrect, yet passing results for checking that a user is not allowed to used sudo.

To prevent the same from occuring again, also add checks for error message contents instead of only checking return code.

Influences versions 4.4.1 and 4.3.2.


4.3 is affected as well, moving to 4.3

master:

  • 7cac8392036bf6d6bbd74f5a781986dec21149d6 Tests: Fix integration sudo tests setup and checks

ipa-4-3:

  • 6d04220dc3071782cf303b2e94e06da4ee26e512 Tests: Fix integration sudo tests setup and checks

ipa-4-4:

  • 32a6528dade8a6bcf1be2885b0ae714669a06d62 Tests: Fix integration sudo tests setup and checks

Metadata Update from @lryznaro:
- Issue assigned to lryznaro
- Issue set to the milestone: FreeIPA 4.3.3

Metadata