From Fedora Project Wiki

No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=This test case checks if the pm-utils bug report functionality is working properly.
|description=This test case tests if the pm-utils bug report functionality is working properly.
{{admon/note|You need account on fedoraproject.org in order to upload the bugreport. If you don't have account and you do not plan to get one, only signal if this test passed or failed in the result table.}}
|setup=
|setup=
# Check that you have {{package|pm-utils}} installed:
# Check that you have ''pm-test-day'' package installed:
#:<pre>$ rpm -q pm-utils</pre>
#:<pre>$ rpm -q pm-test-day</pre>
# Make sure you have uploaded your smolt profile to [http://www.smolts.org Smolt] according to [http://smolts.org/smolt-wiki/Main_Page#Usage these instructions]
 
|actions=
|actions=
# Run the following command:
# Run the following command:
#:<pre># pm-utils-bugreport-info.sh | tee report.log</pre>
#:<pre># pm-utils-bugreport-info.sh | pmtd-write-report</pre>
#* The ''pmtd-write-report'' command generates unique name from the smolt HW-UUID and writes the data from stdin to this file. In case you don't want to upload your smolt profile or the ''pmtd-write-report'' command fails, you can alternatively create unique file name by hand and redirects the ''pm-utils-bugreport-info.sh'' output there, but please make sure that you don't overwrite someone else report when uploading.
# [[Special:Upload|Upload]] the generated TXT file and add link to the results table.
{{admon/warning|Please be carefull not to overwrite someone's else bugreport.}}
|results=
|results=
# Information about your system and last suspend / hibernate are collected and textual report is generated.
# Information about your system and last suspend / hibernate are collected and textual report is generated.

Latest revision as of 13:47, 29 September 2011

Description

This test case tests if the pm-utils bug report functionality is working properly.

Note.png
You need account on fedoraproject.org in order to upload the bugreport. If you don't have account and you do not plan to get one, only signal if this test passed or failed in the result table.

Setup

  1. Check that you have pm-test-day package installed:
    $ rpm -q pm-test-day
  2. Make sure you have uploaded your smolt profile to Smolt according to these instructions

How to test

  1. Run the following command:
    # pm-utils-bugreport-info.sh | pmtd-write-report
    • The pmtd-write-report command generates unique name from the smolt HW-UUID and writes the data from stdin to this file. In case you don't want to upload your smolt profile or the pmtd-write-report command fails, you can alternatively create unique file name by hand and redirects the pm-utils-bugreport-info.sh output there, but please make sure that you don't overwrite someone else report when uploading.
  2. Upload the generated TXT file and add link to the results table.
Warning.png
Please be carefull not to overwrite someone's else bugreport.

Expected Results

  1. Information about your system and last suspend / hibernate are collected and textual report is generated.