summaryrefslogtreecommitdiff
path: root/source4/selftest/target
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-02-15 14:27:06 +1100
committerAndrew Tridgell <tridge@samba.org>2008-02-15 14:27:06 +1100
commit63c099c51a71afad67dce2d2df842b934412117b (patch)
tree0d8acf20dd16e14118cef50e27f04c99a932cdfc /source4/selftest/target
parentbe8a09b13883eb6edd55dedd4dbb45906be20311 (diff)
downloadsamba-63c099c51a71afad67dce2d2df842b934412117b.tar.gz
samba-63c099c51a71afad67dce2d2df842b934412117b.tar.bz2
samba-63c099c51a71afad67dce2d2df842b934412117b.zip
added blackbox testing for locktest
(This used to be commit af6484f78d273407dd9b264bc4adb33497eee48b)
Diffstat (limited to 'source4/selftest/target')
-rw-r--r--source4/selftest/target/Samba4.pm16
1 files changed, 15 insertions, 1 deletions
diff --git a/source4/selftest/target/Samba4.pm b/source4/selftest/target/Samba4.pm
index fba0f6a6f8..563aca876e 100644
--- a/source4/selftest/target/Samba4.pm
+++ b/source4/selftest/target/Samba4.pm
@@ -525,7 +525,7 @@ sub provision($$$$$$)
(system("rm -rf $prefix/*") == 0) or die("Unable to clean up");
mkdir($_, 0777) foreach ($privatedir, $etcdir, $piddir, $ncalrpcdir, $lockdir,
- $tmpdir);
+ $tmpdir, "$tmpdir/test1", "$tmpdir/test2");
my $localbasedn = $basedn;
@@ -569,6 +569,20 @@ sub provision($$$$$$)
posix:sharedelay = 100000
posix:eadb = $lockdir/eadb.tdb
+[test1]
+ path = $tmpdir/test1
+ read only = no
+ ntvfs handler = posix
+ posix:sharedelay = 100000
+ posix:eadb = $lockdir/eadb.tdb
+
+[test2]
+ path = $tmpdir/test2
+ read only = no
+ ntvfs handler = posix
+ posix:sharedelay = 100000
+ posix:eadb = $lockdir/eadb.tdb
+
[cifs]
read only = no
ntvfs handler = cifs