From Fedora Project Wiki
(Initial) |
No edit summary |
||
Line 4: | Line 4: | ||
|actions= | |actions= | ||
# Firstboot package is required. Run following command to install it: {{command|su -c 'yum -y install firstboot'}} | # Firstboot package is required. Run following command to install it: {{command|su -c 'yum -y install firstboot'}} | ||
# Backup the /etc/sysconfig/firstboot file: {{command|su -c 'mv /etc/sysconfig/firstboot /etc/sysconfig/_firstboot'}} | # Backup the ''/etc/sysconfig/firstboot'' file: {{command|su -c 'mv /etc/sysconfig/firstboot /etc/sysconfig/_firstboot'}} | ||
# Run {{command|firstboot}} as normal user | # Run {{command|firstboot}} as normal user | ||
# As the program is not intended to be run as user, it will crash | # As the program is not intended to be run as user, it will crash |
Revision as of 14:28, 23 September 2011
Description
- This test case tests libreport integration with firstboot tool
How to test
- Firstboot package is required. Run following command to install it:
su -c 'yum -y install firstboot'
- Backup the /etc/sysconfig/firstboot file:
su -c 'mv /etc/sysconfig/firstboot /etc/sysconfig/_firstboot'
- Run
firstboot
as normal user - As the program is not intended to be run as user, it will crash
- Hit Save button to report the problem
- Try to report the problem with Logger reporter
- Restore the /etc/sysconfig/firstboot file:
su -c 'mv /etc/sysconfig/_firstboot /etc/sysconfig/firstboot'
Expected Results
- Report should be generated and saved into the file
- The file should contain well formed report of the crash you have caused