From Fedora Project Wiki
(proof) |
(convert to new category system) |
||
Line 26: | Line 26: | ||
# Option '''--delete''' should delete crash | # Option '''--delete''' should delete crash | ||
}} | }} | ||
[[Category: | [[Category:Package_abrt_test_cases]] |
Revision as of 16:17, 13 January 2011
Description
This test case tests the functionality of the ABRT command line interface.
How to test
- After running previous ABRT test cases you probably have a bunch of crash reports in cache. If not do some crashing with the command
kill -SIGSEGV (pid)
- Check the information on each crash from the graphical front end
abrt-gui
- Check whether
/etc/abrt/plugins/Bugzilla.conf
and~/.abrt/Bugzilla.conf
contain your Bugzilla login and password. The second file may not exist, which is fine. If these files do contain the information, remove it - Run
abrt-cli --get-list-full
in terminal to show all crashes - Run
abrt-cli --get-list
to show unreported crashes - Try crash reporting: run
abrt-cli --report (uid):(uuid)
to report a crash, identifying it via UID:UUID pair. UIDs and UUIDs can be found in --get-list[-full] output- ABRT should analyze the crash and creates a report about it. This might take a while. When the report is ready,
abrt-cli
should open a text editor with the content of the report. You can see what is being reported, and you can fill in instructions on how to reproduce the crash and other comments. When you are done with the report, save your changes and close the editor - You should be asked if you want to report using some reporter plugins. Respond Y for Bugzilla reporter, and N to skip reporting using Logger
- When reporting via Bugzilla plugin, abrt-cli should ask for login and password
- ABRT should analyze the crash and creates a report about it. This might take a while. When the report is ready,
- Create
~/.abrt/Bugzilla.conf
with the contents:- Login=your@email.org
- Password=yourpassword
- Try the crash reporting again, this time using
abrt-cli --report @(x)
to report a crash using its ordinal number (x). This timeabrt-cli
should take your login and password from the configuration file instead of asking you - Run
abrt-cli --report-always (uuid-or-@x)
to report a crash without confirming, using all reporters associated with the crash - Run
abrt-cli --delete (uuid-or-@x)
to delete the report with the chosen UUID or ordinal number
Expected Results
- Option --get-list-full should show all crashes
- Option --get-list should show all not-yet-reported crashes
- Option --report should show crash report and asks for confirmation before sending it
- Option --report-always should send crash report
- Option --delete should delete crash