From Fedora Project Wiki

< User:Tablepc

Revision as of 16:00, 5 December 2019 by Tablepc (talk | contribs)

Description

This test case ensures that disk drive(s) are properly unmounted during a power-down or a restart.

Setup

  1. Install the pre-released version of Fedora to be tested. If you are installing from a LiveOS, perform the steps below with the LiveOS before doing the install. After this go ahead with the install
  2. Reboot the system to the hard drive after the install.

How to test

  1. On the running system, Switch to a free virtual console using Ctrl+Alt+F<n> shortcut and log in.
  2. At the command prompt, issue the following command journalctl -b -l > journal.txt
  3. At the command prompt, issue the following commands

grep 'dirty bit' journal.txt

grep 'data may be corrupt' journal.txt

grep 'recovery' journal.txt

grep 'unmounted' journal.txt

grep 'recovering' journal.txt

There should not be any output from any of these commands

  1. If there has been any output from any of these commands, file a bug report and attach the journal.txt file to the report.
  2. Close the Journal output and restart the test system using the command reboot on the virtual console.
  3. Repeat steps 1 through 3 above.

Expected Results

  1. The greps should not produce any output.