From Fedora Project Wiki

No edit summary
(mark as obsolete due to SwapOnZRAM feature in F33)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{admon/note|Obsolete|As of Fedora 33, installations do not include a disk-based swap partition by default (instead, [[Changes/SwapOnZRAM]] is used), so this test case is obsolete. For a corresponding "with swap" test case, see [[QA:Testcase_partitioning_custom_with_swap]].}}
{{QA/Test_Case
{{QA/Test_Case
|description=An installation without specifying a swap partition.  When a system has sufficient memory, the installer should warn, but not restrict this request.
|description=An installation without specifying a swap partition.  When a system has sufficient memory, the installer should warn, but not restrict this request.
|setup=
|setup=
{{Template:partitioning_single_setup}}
{{Template:partitioning_single_setup}}
|actions=
|actions=
{{Template:partitioning_actions}}
{{Template:partitioning_actions}}
{{Templateartitioning_custom_single_blank}}
{{Template:Partitioning_single_custom_blank}}
# Ensure only the single target device you prepared is selected as the installation target disk.
# Click the ''Click here to create them automatically'' link
# Ensure the option to configure partitioning yourself is selected,and complete this screen.
# Delete the swap partition that is automatically created
# On the ''MANUAL PARTITIONING'' screen, delete all existing partitions (if any).
{{Template:partitioning_actions_post}}
# Pick 'Standard partition' from the ''New mount points will use the following partitioning scheme:'' drop-down
# Click the ''Click here to create them automatically'' link
# delete swap partition,and click ''Done''twice
{{Templateartitioning_actions_post}}
|results=
|results=
{{Templateartitioning_results}}
{{Template:partitioning_results}}
# Anaconda warns that system performance may suffer without a swap partition
# Anaconda should warn that system performance may suffer without a swap partition
# Anaconda allows the installation to complete successfully for systems with sufficient system memory (consult the [http://docs.fedoraproject.org/en-US/Fedora/16/html/Release_Notes/sect-Release_Notes-Welcome_to_Fedora_16.html#sect-Release_Notes-Hardware_Overview Hardware Overview section of the release notes] for minimum hardware requirements). For systems with insufficient memory, anaconda must require the presence of a {{filename|swap}} partition.
# Anaconda should allow the installation to complete successfully for systems with sufficient system memory. For systems with insufficient memory, anaconda must require the presence of a {{filename|swap}} partition.
# Reboot successfully into installed system
# No swap partition should be in use (you can check {{filename|/proc/swaps}})
# Confirm that no swap partition is in use ({{filename|/proc/swaps}})
}}
}}


[[Category:Installer Partitioning Test Cases]]
[[Category:Obsolete Test Cases]]

Latest revision as of 21:07, 11 August 2020

Obsolete
As of Fedora 33, installations do not include a disk-based swap partition by default (instead, Changes/SwapOnZRAM is used), so this test case is obsolete. For a corresponding "with swap" test case, see QA:Testcase_partitioning_custom_with_swap.


Description

An installation without specifying a swap partition. When a system has sufficient memory, the installer should warn, but not restrict this request.

Setup

  1. Prepare a test system with a working, supported storage device of sufficient size for a Fedora install, and a Fedora installation medium that uses the GTK-based installer. Do not use Fedora Workstation live on Fedora 41+, as that uses the webui-based installer.

How to test

  1. Boot the GTK-based installer using any available means. Do not use Fedora Workstation live on Fedora 41+, as that uses the webui-based installer.
  2. Proceed to the installer's main screen, making sensible choices, and enter the Installation Destination screen.
  3. Ensure only the single target device you prepared is selected as the installation target disk.
  4. Ensure the Custom option is selected under Storage Configuration, and complete this screen.
  5. On the MANUAL PARTITIONING screen, delete all existing partitions (if any).
  6. Click the Click here to create them automatically link
  7. Delete the swap partition that is automatically created
  8. Complete the installation process, making sensible selections for all other installer options.
  9. Boot the installed system.

Expected Results

  1. The expected partition layout should be created on the target device(s).
  2. The install process should complete successfully and the installed system should boot as expected.
  3. Anaconda should warn that system performance may suffer without a swap partition
  4. Anaconda should allow the installation to complete successfully for systems with sufficient system memory. For systems with insufficient memory, anaconda must require the presence of a swap partition.
  5. No swap partition should be in use (you can check /proc/swaps)