Hide Forgot
Description of problem: The v7 save command will attempt to save current results when there are no test runs Version-Release number of selected component (if applicable): v7 1.4 R16 Steps to Reproduce: 1. v7 clean 2. v7 plan 3. v7 save Actual results: Saves empty results file Expected results: Should give error message. Additional info:
Created attachment 519301 [details] patch to check for empty results before saving
Created attachment 519302 [details] fix for pattern to match hostname from results filename
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: In v7 1.3, v7 save command would still run succeeded even if no test were executed before. This issue has been fixed in v7 1.4. Now v7 save command will give an error message indicating that no test has been exeuted yet and there is no test result to be saved.
Reproduced in v7-1.4-16.el6.noarch and verified in v7-1.4-18.el6.noarch.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1436.html