#1595 Missing message summary while adding sudooption.
Closed: Fixed None Opened 12 years ago by dpal.

https://bugzilla.redhat.com/show_bug.cgi?id=729245

Description of problem:


Version-Release number of selected component (if applicable):
ipa-admintools-2.0.99-8.20110804T1127zgiteb0454d.el6.x86_64

How reproducible:
Always

Steps to reproduce:

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: sudorule-add-option_002: ipa sudorule-add-option sudorule1
--sudooption=logfile=/var/log/sudolog
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [   PASS   ] :: Running 'ipa sudorule-add-option sudorule1
--sudooption="logfile=/var/log/sudolog" >
/tmp/tmp.LyEgVu1CxY/sudorule-add-option_002.txt 2>&1'
:: [   FAIL   ] :: File '/tmp/tmp.LyEgVu1CxY/sudorule-add-option_002.txt'
should contain 'Added option "logfile=/var/log/sudolog" to Sudo rule
"sudorule1"' 
  Rule name: sudorule1
  Enabled: TRUE
  Sudo Option: logfile=/var/log/sudolog
:: [   PASS   ] :: Running 'cat
/tmp/tmp.LyEgVu1CxY/sudorule-add-option_002.txt'


Actual results:
Missing message summary while adding a sudooption.

Expected results:
Message summary should be displayed.

Additional info:

Marking this as REGRESSION since this test passed in
ipa-admintools-2.0.0-25.el6.x86_64.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: sudorule-add-option_002: ipa sudorule-add-option sudorule1
--sudooption=logfile=/var/log/sudolog
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [   PASS   ] :: Running 'ipa sudorule-add-option sudorule1
--sudooption="logfile=/var/log/sudolog" >
/tmp/tmp.oQU4qexF3t/sudorule-add-option_002.txt 2>&1'
:: [   PASS   ] :: File '/tmp/tmp.oQU4qexF3t/sudorule-add-option_002.txt'
should contain 'Added option "logfile=/var/log/sudolog" to Sudo rule
"sudorule1"'
--------------------
sudorule-add-option:
--------------------
----------------------------------------------------------------
Added option "logfile=/var/log/sudolog" to Sudo rule "sudorule1"
----------------------------------------------------------------
:: [   PASS   ] :: Running 'cat
/tmp/tmp.oQU4qexF3t/sudorule-add-option_002.txt'

There is a relevant comment in #1596.

Metadata Update from @dpal:
- Issue assigned to mkosek
- Issue set to the milestone: FreeIPA 2.1.1 (bug fixing)

7 years ago

Login to comment on this ticket.

Metadata