yast / yast-storage-ng

Rewrite of https://github.com/yast/yast-storage
http://yast.github.io/
GNU General Public License v2.0
14 stars 20 forks source link

Proposal: Unit test to showcase a serious bug #1381

Open ancorgs opened 5 months ago

ancorgs commented 5 months ago

Problem

Consider a system that initially contains an MS-DOS partition table and partitions are deleted one by one during the proposal process to the point in which the partition table is empty.

Then the proposal will take the opportunity to replace that empty MS-DOS partition table with a GPT one (which is the default)... but it doesn't re-calculate the partitions needed for booting.

The problem is not new. This test fails in several branches (SLE-15-SP5, SLE-15-SP6 and master at the time I tested).

Solution

To be implemented (before merging this, of course).