Bug 220257 - The enable/disable test option does not work properly after the first run.
Summary: The enable/disable test option does not work properly after the first run.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Test Suite (harness)
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Greg Nichols
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-12-19 22:30 UTC by Chris Moore
Modified: 2008-05-01 15:39 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-01-31 21:28:56 UTC
Embargoed:


Attachments (Terms of Use)

Description Chris Moore 2006-12-19 22:30:34 UTC
Description of problem:
The enable/disable test option does not work properly after the first run.

The user cannot change a test’s enable/disable status after the kit has run
once, no matter if that test was run or not.

Version-Release number of selected component (if applicable):
HTS 5 release 14

How reproducible:  This is an example using the virt test

  hts discovery
  hts plan
  hts print
disable Test:
  hts plan --disable --test=virt
Try and run test, when you shouldn’t be able to  (it only runs INFO, which is
correct)
  hts certify --test=virt
Enable Test:
  hts plan --enable --test=virt
run the test again to show that is truly disabled:
  hts certify --test=virt

  
Actual results:

Never enables test, nor runs the test.

Expected results:

It should enable the test.

Additional info:

The testkit seems to be grabbing the enable/disable parameter from the
/var/hts/results.xml file, instead of from the /var/hts/config.xml file.  The
config.xml displays what it is supposed to run, while the results.xml file
displays what was previously run.    

The “disabled=’true’” entry in the results.xml must be deleted for the test to
be enabled.

Comment 1 Greg Nichols 2007-01-09 20:43:11 UTC
Fixed R16.

Comment 2 Greg Nichols 2007-01-23 16:18:07 UTC
Please verify this fix.

Comment 3 Chris Moore 2007-01-31 22:14:53 UTC
Fixed.


Note You need to log in before you can comment on or make changes to this bug.