Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #220 from yast/bug991252
Fix for bsc#991252
- Loading branch information
Showing
11 changed files
with
219 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# | ||
# Makefile.am for storage/storage/src/testsuite/data/bsc-991252 | ||
# | ||
|
||
EXTRA_DIST = disk_sda.info free.info arch.info | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0"?> | ||
<arch> | ||
<arch>x86_64</arch> | ||
</arch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
<?xml version="1.0"?> | ||
<disk> | ||
<name>sda</name> | ||
<device>/dev/sda</device> | ||
<size_k>500107608</size_k> | ||
<major>8</major> | ||
<minor>0</minor> | ||
<range>256</range> | ||
<geometry> | ||
<cylinders>62260</cylinders> | ||
<heads>255</heads> | ||
<sectors>63</sectors> | ||
</geometry> | ||
<label>gpt</label> | ||
<max_primary>128</max_primary> | ||
<udev_path>pci-0000:00:17.0-ata-3</udev_path> | ||
<udev_id>ata-SK_hynix_SC308_SATA_512GB_FS66N501910406H1L</udev_id> | ||
<udev_id>scsi-0ATA_SK_hynix_SC308_S_FS66N501910406H1L</udev_id> | ||
<udev_id>scsi-1ATA_SK_hynix_SC308_SATA_512GB_FS66N501910406H1L</udev_id> | ||
<udev_id>scsi-SATA_SK_hynix_SC308_FS66N501910406H1L</udev_id> | ||
<udev_id>scsi-SATA_SK_hynix_SC308_SFS66N501910406H1L</udev_id> | ||
<udev_id>scsi-SATA_SK_hynix_SC308_S_FS66N501910406H1L</udev_id> | ||
<partition> | ||
<name>sda1</name> | ||
<device>/dev/sda1</device> | ||
<size_k>510976</size_k> | ||
<major>8</major> | ||
<minor>1</minor> | ||
<numeric>true</numeric> | ||
<number>1</number> | ||
<fs_type>vfat</fs_type> | ||
<fs_uuid>F8F9-F597</fs_uuid> | ||
<fs_label>BOOT</fs_label> | ||
<mount_by>uuid</mount_by> | ||
<region> | ||
<start>0</start> | ||
<length>64</length> | ||
</region> | ||
<partition_type>primary</partition_type> | ||
<partition_id>259</partition_id> | ||
<boot_flag>true</boot_flag> | ||
</partition> | ||
<partition> | ||
<name>sda2</name> | ||
<device>/dev/sda2</device> | ||
<size_k>131072</size_k> | ||
<major>8</major> | ||
<minor>2</minor> | ||
<numeric>true</numeric> | ||
<number>2</number> | ||
<region> | ||
<start>63</start> | ||
<length>18</length> | ||
</region> | ||
<partition_type>primary</partition_type> | ||
<partition_id>261</partition_id> | ||
</partition> | ||
<partition> | ||
<name>sda3</name> | ||
<device>/dev/sda3</device> | ||
<size_k>4998144</size_k> | ||
<major>8</major> | ||
<minor>3</minor> | ||
<numeric>true</numeric> | ||
<number>3</number> | ||
<fs_type>ntfs-3g</fs_type> | ||
<fs_uuid>14E6FD15E6FCF7B6</fs_uuid> | ||
<fs_label>Recovery</fs_label> | ||
<mount_by>uuid</mount_by> | ||
<region> | ||
<start>61638</start> | ||
<length>622</length> | ||
</region> | ||
<partition_type>primary</partition_type> | ||
<partition_id>7</partition_id> | ||
</partition> | ||
<partition> | ||
<name>sda4</name> | ||
<device>/dev/sda4</device> | ||
<size_k>494465024</size_k> | ||
<major>8</major> | ||
<minor>4</minor> | ||
<numeric>true</numeric> | ||
<number>4</number> | ||
<fs_type>ntfs-3g</fs_type> | ||
<fs_uuid>B856FC8B56FC4B9E</fs_uuid> | ||
<fs_label>Windows</fs_label> | ||
<mount_by>uuid</mount_by> | ||
<region> | ||
<start>80</start> | ||
<length>61559</length> | ||
</region> | ||
<partition_type>primary</partition_type> | ||
<partition_id>7</partition_id> | ||
</partition> | ||
</disk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0"?> | ||
<free> | ||
<free> | ||
<device>/dev/sda4</device> | ||
<resize_cached>true</resize_cached> | ||
<df_free_k>10000000</df_free_k> | ||
<resize_free_k>10000000</resize_free_k> | ||
<used_k>20000000</used_k> | ||
<resize_ok>true</resize_ok> | ||
<content_cached>true</content_cached> | ||
<windows>true</windows> | ||
<efi>false</efi> | ||
<home>false</home> | ||
</free> | ||
</free> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
Dump Hardware Excerpt: | ||
Dump Arch: x86_64 | ||
Dump | ||
Dump Proposal Settings Excerpt: | ||
Dump | ||
Dump Proposal: | ||
Dump Shrink Windows partition /dev/sda4 to 22.25 GiB [destructive] | ||
Dump Set type of partition /dev/sda1 to GPT BIOS (107) | ||
Dump Create swap volume /dev/sda5 (517.72 MiB) | ||
Dump Create root volume /dev/sda6 (448.80 GiB) with btrfs | ||
Dump Create subvolume boot/grub2/i386-pc on device /dev/sda6 | ||
Dump Create subvolume boot/grub2/x86_64-efi on device /dev/sda6 | ||
Dump Create subvolume home on device /dev/sda6 | ||
Dump Create subvolume opt on device /dev/sda6 | ||
Dump Create subvolume srv on device /dev/sda6 | ||
Dump Create subvolume tmp on device /dev/sda6 | ||
Dump Create subvolume usr/local on device /dev/sda6 | ||
Dump Create subvolume var/cache on device /dev/sda6 | ||
Dump Create subvolume var/crash on device /dev/sda6 | ||
Dump Create subvolume var/lib/libvirt/images on device /dev/sda6 with option "no copy on write" | ||
Dump Create subvolume var/lib/mailman on device /dev/sda6 | ||
Dump Create subvolume var/lib/mariadb on device /dev/sda6 with option "no copy on write" | ||
Dump Create subvolume var/lib/mysql on device /dev/sda6 with option "no copy on write" | ||
Dump Create subvolume var/lib/named on device /dev/sda6 | ||
Dump Create subvolume var/lib/pgsql on device /dev/sda6 with option "no copy on write" | ||
Dump Create subvolume var/log on device /dev/sda6 | ||
Dump Create subvolume var/opt on device /dev/sda6 | ||
Dump Create subvolume var/spool on device /dev/sda6 | ||
Dump Create subvolume var/tmp on device /dev/sda6 | ||
Dump | ||
Dump Target Map Excerpt: | ||
Dump device:/dev/sda label:gpt | ||
Dump device:/dev/sda1 fsid:0x107 | ||
Dump device:/dev/sda2 fsid:0x105 | ||
Dump device:/dev/sda3 fsid:0x7 | ||
Dump device:/dev/sda4 fsid:0x7 | ||
Dump device:/dev/sda5 fsid:0x82 | ||
Dump device:/dev/sda6 fsid:0x83 userdata:{"/"=>"snapshots"} | ||
Dump | ||
Dump Proposal Feedback: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# encoding: utf-8 | ||
|
||
# testedfiles: helper.rb | ||
|
||
module Yast | ||
|
||
class TestClient < Client | ||
|
||
def main | ||
|
||
def setup1() | ||
setup_system("bsc-991252") | ||
end | ||
|
||
def setup2() | ||
ProductFeatures.SetBooleanFeature("partitioning", "try_separate_home", false) | ||
ProductFeatures.SetBooleanFeature("partitioning", "proposal_lvm", false) | ||
ProductFeatures.SetStringFeature("partitioning", "vm_desired_size", "30 GB") | ||
ProductFeatures.SetStringFeature("partitioning", "root_base_size", "20 GB") | ||
ProductFeatures.SetBooleanFeature("partitioning", "proposal_snapshots", true) | ||
end | ||
|
||
def setup3() | ||
end | ||
|
||
Yast.include self, "helper.rb" | ||
|
||
end | ||
|
||
end | ||
|
||
end | ||
|
||
Yast::TestClient.new.main |