From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
# 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 the program is not intended to be run by unprivileged user, it will crash | ||
# Hit ''Save'' button to report the problem | # Hit ''Save'' button to report the problem | ||
# Try to report the problem with ''Logger'' reporter | # Try to report the problem with ''Logger'' reporter |
Latest revision as of 14:29, 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 by unprivileged 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