summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index e5062bd66..859bd58b3 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -121,7 +121,6 @@ sub setupSCSI {
#------------------------------------------------------------------------------
sub doPartitionDisks {
my ($o, $hds) = @_;
- return if $::testing;
if ($o->{lnx4win}) {
my @l = sort { $a->{device_windobe} cmp $b->{device_windobe} }
@@ -144,7 +143,9 @@ sub doPartitionDisks {
push @{$real_part->{loopback}}, $root, $swap;
} else {
- partition_table::write($_) foreach @$hds;
+ unless ($::testing) {
+ partition_table::write($_) foreach @$hds;
+ }
}
}
sub doPartitionDisksLnx4winDev {}