summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-19 22:11:54 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-19 22:11:54 +0000
commitb3435a067c7e15241bc6628d8dbba32c5ec84f98 (patch)
treee55148ffefaa1c0b4b4977a04292a331d823284b /perl-install
parent2b5e2b524ca82593a7e870a49cb7d18b374154e2 (diff)
downloaddrakx-b3435a067c7e15241bc6628d8dbba32c5ec84f98.tar
drakx-b3435a067c7e15241bc6628d8dbba32c5ec84f98.tar.gz
drakx-b3435a067c7e15241bc6628d8dbba32c5ec84f98.tar.bz2
drakx-b3435a067c7e15241bc6628d8dbba32c5ec84f98.tar.xz
drakx-b3435a067c7e15241bc6628d8dbba32c5ec84f98.zip
add some test code
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/diskdrake5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/standalone/diskdrake b/perl-install/standalone/diskdrake
index 9b326d388..4c113413a 100755
--- a/perl-install/standalone/diskdrake
+++ b/perl-install/standalone/diskdrake
@@ -69,6 +69,11 @@ fs::get_raw_hds('', $all_hds);
fs::merge_info_from_fstab([ fsedit::get_really_all_fstab($all_hds) ]);
fs::merge_info_from_mtab([ fsedit::get_really_all_fstab($all_hds) ]);
+
+if (getenv("TEST_DEFAULT_OPTIONS")) {
+ fs::set_default_options($all_hds);
+ fs::set_removable_mntpoints($all_hds);
+}
diskdrake_interactive::main($in, $all_hds);
$in->exit(0);