Author: aschnell Date: Tue Jul 6 15:37:48 2010 New Revision: 62187 URL: http://svn.opensuse.org/viewcvs/yast?rev=62187&view=rev Log: - added efi testcases Added: trunk/storage/storage/src/testsuite/data/empty-efi/ (with props) trunk/storage/storage/src/testsuite/data/empty-efi/Makefile.am trunk/storage/storage/src/testsuite/data/empty-efi/arch.info trunk/storage/storage/src/testsuite/data/empty-efi/disk_sda.info trunk/storage/storage/src/testsuite/tests/empty-efi1.err trunk/storage/storage/src/testsuite/tests/empty-efi1.out trunk/storage/storage/src/testsuite/tests/empty-efi1.ycp trunk/storage/storage/src/testsuite/tests/empty-efi2.err trunk/storage/storage/src/testsuite/tests/empty-efi2.out trunk/storage/storage/src/testsuite/tests/empty-efi2.ycp Modified: trunk/storage/storage/src/testsuite/data/Makefile.am Modified: trunk/storage/storage/src/testsuite/data/Makefile.am URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/testsuite/data/Makefile.am?rev=62187&r1=62186&r2=62187&view=diff ============================================================================== --- trunk/storage/storage/src/testsuite/data/Makefile.am (original) +++ trunk/storage/storage/src/testsuite/data/Makefile.am Tue Jul 6 15:37:48 2010 @@ -2,5 +2,5 @@ # Makefile.am for storage/storage/src/testsuite/data # -SUBDIRS = empty half-empty reuse-home windows windows-only +SUBDIRS = empty empty-efi half-empty reuse-home windows windows-only Added: trunk/storage/storage/src/testsuite/data/empty-efi/Makefile.am URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/testsuite/data/empty-efi/Makefile.am?rev=62187&view=auto ============================================================================== --- trunk/storage/storage/src/testsuite/data/empty-efi/Makefile.am (added) +++ trunk/storage/storage/src/testsuite/data/empty-efi/Makefile.am Tue Jul 6 15:37:48 2010 @@ -0,0 +1,6 @@ +# +# Makefile.am for storage/storage/src/testsuite/data/empty-efi +# + +EXTRA_DIST = disk_sda.info arch.info + Added: trunk/storage/storage/src/testsuite/data/empty-efi/arch.info URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/testsuite/data/empty-efi/arch.info?rev=62187&view=auto ============================================================================== --- trunk/storage/storage/src/testsuite/data/empty-efi/arch.info (added) +++ trunk/storage/storage/src/testsuite/data/empty-efi/arch.info Tue Jul 6 15:37:48 2010 @@ -0,0 +1,5 @@ +<?xml version="1.0"?> +<arch> + <arch>x86_64</arch> + <efiboot>true</efiboot> +</arch> Added: trunk/storage/storage/src/testsuite/data/empty-efi/disk_sda.info URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/testsuite/data/empty-efi/disk_sda.info?rev=62187&view=auto ============================================================================== --- trunk/storage/storage/src/testsuite/data/empty-efi/disk_sda.info (added) +++ trunk/storage/storage/src/testsuite/data/empty-efi/disk_sda.info Tue Jul 6 15:37:48 2010 @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<disk> + <name>sda</name> + <device>/dev/sda</device> + <size_k>312571224</size_k> + <major>8</major> + <minor>64</minor> + <range>256</range> + <cylinder>38913</cylinder> + <head>255</head> + <sector>63</sector> + <label>gpt</label> + <max_primary>128</max_primary> +</disk> Added: trunk/storage/storage/src/testsuite/tests/empty-efi1.err URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/testsuite/tests/empty-efi1.err?rev=62187&view=auto ============================================================================== (empty) Added: trunk/storage/storage/src/testsuite/tests/empty-efi1.out URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/testsuite/tests/empty-efi1.out?rev=62187&view=auto ============================================================================== --- trunk/storage/storage/src/testsuite/tests/empty-efi1.out (added) +++ trunk/storage/storage/src/testsuite/tests/empty-efi1.out Tue Jul 6 15:37:48 2010 @@ -0,0 +1,4 @@ +Dump Proposal: +Dump Create boot volume /dev/sda1 (70.60 MB) with vfat +Dump Create swap volume /dev/sda2 (517.72 MB) +Dump Create root volume /dev/sda3 (297.51 GB) with ext4 Added: trunk/storage/storage/src/testsuite/tests/empty-efi1.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/testsuite/tests/empty-efi1.ycp?rev=62187&view=auto ============================================================================== --- trunk/storage/storage/src/testsuite/tests/empty-efi1.ycp (added) +++ trunk/storage/storage/src/testsuite/tests/empty-efi1.ycp Tue Jul 6 15:37:48 2010 @@ -0,0 +1,17 @@ +// testedfiles: helper1b.yh +{ + include "./tests/setup-system.yh"; + + setup_system("empty-efi"); + + include "./tests/helper1a.yh"; + + import "ProductFeatures"; + + 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"); + + include "./tests/helper1b.yh"; +} Added: trunk/storage/storage/src/testsuite/tests/empty-efi2.err URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/testsuite/tests/empty-efi2.err?rev=62187&view=auto ============================================================================== (empty) Added: trunk/storage/storage/src/testsuite/tests/empty-efi2.out URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/testsuite/tests/empty-efi2.out?rev=62187&view=auto ============================================================================== --- trunk/storage/storage/src/testsuite/tests/empty-efi2.out (added) +++ trunk/storage/storage/src/testsuite/tests/empty-efi2.out Tue Jul 6 15:37:48 2010 @@ -0,0 +1,5 @@ +Dump Proposal: +Dump Create boot volume /dev/sda1 (70.60 MB) with vfat +Dump Create swap volume /dev/sda2 (2.01 GB) +Dump Create root volume /dev/sda3 (20.00 GB) with ext4 +Dump Create volume /dev/sda4 (276.01 GB) for /home with ext4 Added: trunk/storage/storage/src/testsuite/tests/empty-efi2.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/testsuite/tests/empty-efi2.ycp?rev=62187&view=auto ============================================================================== --- trunk/storage/storage/src/testsuite/tests/empty-efi2.ycp (added) +++ trunk/storage/storage/src/testsuite/tests/empty-efi2.ycp Tue Jul 6 15:37:48 2010 @@ -0,0 +1,17 @@ +// testedfiles: helper1b.yh +{ + include "./tests/setup-system.yh"; + + setup_system("empty-efi"); + + include "./tests/helper1a.yh"; + + import "ProductFeatures"; + + ProductFeatures::SetBooleanFeature("partitioning", "try_separate_home", true); + ProductFeatures::SetBooleanFeature("partitioning", "proposal_lvm", false); + ProductFeatures::SetStringFeature("partitioning", "vm_desired_size", "30 GB"); + ProductFeatures::SetStringFeature("partitioning", "root_base_size", "20 GB"); + + include "./tests/helper1b.yh"; +} -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org