QA:Testcase ABRT CLI
From FedoraProject
Contents |
Description
This test case tests the functionality of the ABRT command line interface.
Setup
- If you are running through the set of ABRT test cases you probably have a bunch of crash reports in cache. If not, then crash some applications with the command
kill -SIGSEGV (pid). Make sure they are not applications containing important data! - Make sure you have
installed:
abrt-clisu -c 'yum install abrt-cli'
How to test
- Run
abrt-cli listto show unreported crashes - Run
abrt-cli list --fullto show all crashes - Try crash reporting: run
report-cli -e report_Logger -- DIRto report a crash to e.g. Logger- Select reporting using Logger
- Run
abrt-cli rm DIRto delete the report
Expected Results
- Option list shows all not-yet-reported crashes
- Option list --full shows all crashes
- Option report shows crash report and asks for confirmation before sending it
- ABRT asks you to choose one of the analyzer 'local GDB debugger' or 'retrace sever' and then analyzes the crash and creates a report. When the report is ready,
abrt-cliopens a text editor with the content of the report. You can see what's being reported, and you are able to fill in instructions on how to reproduce the crash and other comments. - You are asked if you want to execute some reporter plugins or not.
- ABRT asks you to choose one of the analyzer 'local GDB debugger' or 'retrace sever' and then analyzes the crash and creates a report. When the report is ready,
- Option rm deletes crash