summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-05-01 18:18:31 +0200
committerStefan Metzmacher <metze@samba.org>2009-08-11 14:58:00 +0200
commit303c3b363bc7c28f8eb3c264b0c116a062d4b603 (patch)
tree2190caf61c21e5ff67d2413d1dd64030154aea77
parent76d893b76e67ec748a2a7eb7d2f0dde2c3ecc37e (diff)
downloadsamba-303c3b363bc7c28f8eb3c264b0c116a062d4b603.tar.gz
samba-303c3b363bc7c28f8eb3c264b0c116a062d4b603.tar.bz2
samba-303c3b363bc7c28f8eb3c264b0c116a062d4b603.zip
selftest: configure "ncalrpc dir" for the client
Some torture tests will need this soon. metze
-rwxr-xr-xselftest/selftest.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl
index c42f6e6213..75afbdd9a9 100755
--- a/selftest/selftest.pl
+++ b/selftest/selftest.pl
@@ -543,6 +543,12 @@ sub write_clientconf($$)
mkdir("$prefix/client/lockdir", 0777);
}
+ if ( -d "$prefix_abs/client/ncalrpcdir" ) {
+ unlink <$prefix/client/ncalrpcdir/*>;
+ } else {
+ mkdir("$prefix/client/ncalrpcdir", 0777);
+ }
+
open(CF, ">$conffile");
print CF "[global]\n";
if (defined($ENV{VALGRIND})) {
@@ -563,6 +569,7 @@ sub write_clientconf($$)
print CF "
private dir = $prefix_abs/client/private
lock dir = $prefix_abs/client/lockdir
+ ncalrpc dir = $prefix_abs/client/ncalrpcdir
name resolve order = bcast
panic action = $RealBin/gdb_backtrace \%PID\% \%PROG\%
max xmit = 32K