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 user, it will crash
# 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

  1. Firstboot package is required. Run following command to install it: su -c 'yum -y install firstboot'
  2. Backup the /etc/sysconfig/firstboot file: su -c 'mv /etc/sysconfig/firstboot /etc/sysconfig/_firstboot'
  3. Run firstboot as normal user
  4. As the program is not intended to be run by unprivileged user, it will crash
  5. Hit Save button to report the problem
  6. Try to report the problem with Logger reporter
  7. Restore the /etc/sysconfig/firstboot file: su -c 'mv /etc/sysconfig/_firstboot /etc/sysconfig/firstboot'

Expected Results

  1. Report should be generated and saved into the file
  2. The file should contain well formed report of the crash you have caused