Bug 466722

Summary: Hts failed to clean after appointing a directory for data files
Product: [Retired] Red Hat Hardware Certification Program Reporter: Yolkfull Chow <yzhou>
Component: Test Suite (tests)Assignee: Greg Nichols <gnichols>
Status: CLOSED DUPLICATE QA Contact: Lawrence Lim <llim>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2CC: desktop-bugs, gnichols, rlandry, tools-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-15 14:32:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yolkfull Chow 2008-10-13 08:10:35 UTC
Description of problem:
After appointing a directory for data files,hts clean will fail to clean config.xml and plan.xml files.

Version-Release number of selected component (if applicable):
hts-5.2-20.el4

How reproducible:
Everytime

Steps to Reproduce:
1. hts plan -n $IP -d /tmp/hts
2. go to directory /tmp/hts, you could see the config.xml and plan.xml are saved here
3. after issue "hts clean", config.xml and plan.xml are not cleaned at all.
  
Actual results:


Expected results:


Additional info:

Comment 2 Greg Nichols 2008-10-13 16:05:18 UTC
The correct command for cleaning the test results/plan would be:

hts clean -d /tmp/hts

Is that what you used?

Comment 3 Yolkfull Chow 2008-10-14 01:32:12 UTC
(In reply to comment #2)
> The correct command for cleaning the test results/plan would be:
> 
> hts clean -d /tmp/hts
> 
> Is that what you used?

Hi Greg,

Firstly,in HTS help page(hts --help),it doesn't hint any info that if user appoint a data directory he will need add an argument when "hts clean", whereas only telling "hts clean" will "remove all results and temporary files".

Secondly, "hts clean -d /tmp/hts" will failed as well.

Comment 4 Greg Nichols 2008-10-15 14:32:15 UTC

*** This bug has been marked as a duplicate of bug 466716 ***