summaryrefslogtreecommitdiffstats
path: root/nisautofs_wizard/Nisautofs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'nisautofs_wizard/Nisautofs.pm')
-rw-r--r--nisautofs_wizard/Nisautofs.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/nisautofs_wizard/Nisautofs.pm b/nisautofs_wizard/Nisautofs.pm
index 3b2875d6..489f638f 100644
--- a/nisautofs_wizard/Nisautofs.pm
+++ b/nisautofs_wizard/Nisautofs.pm
@@ -290,6 +290,7 @@ sub uninstall_rpm {
}
sub do_it_server {
+ return if $::testing;
my $in = 'interactive'->vnew('su', 'nisautofsconfig');
my $w = $in->wait_message(N("Nis+autofs Server"), N("Configuring your system as a Nis+Autofs(nfs) server ..."));
# system("urpme --auto autofs") if (system("/bin/rpm -q autofs >/dev/null"));
@@ -317,6 +318,7 @@ sub do_it_server {
}
sub do_it_client {
+ return if $::testing;
my $in = 'interactive'->vnew('su', 'nisautofsclient');
my $w = $in->wait_message(N("Nis Client"), N("Configuring your system as Nis Client ..."));
uninstall_rpm('ypserv');