summaryrefslogtreecommitdiff
path: root/selftest/target
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-10-28 12:15:51 -0700
committerJeremy Allison <jra@samba.org>2011-10-28 12:16:43 -0700
commit8c6ff21782b141571dde64e80cc42540e9177a23 (patch)
treed2adc56dc1b173620061fff0b9f80e65d6963d4a /selftest/target
parent3bd6513884f1f02fe5638a424bcb1948f0921853 (diff)
downloadsamba-8c6ff21782b141571dde64e80cc42540e9177a23.tar.gz
samba-8c6ff21782b141571dde64e80cc42540e9177a23.tar.bz2
samba-8c6ff21782b141571dde64e80cc42540e9177a23.zip
The xcopy test is used in unusual ways (via a different uid). Ensure we can cope with this.
Diffstat (limited to 'selftest/target')
-rwxr-xr-xselftest/target/Samba3.pm5
-rw-r--r--selftest/target/Samba4.pm7
2 files changed, 12 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index 6c0e437785..3c0fbe9220 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -1003,6 +1003,11 @@ sub provision($$$$$$$)
copy = print1
[lp]
copy = print1
+[xcopy_share]
+ path = $shrdir
+ comment = smb username is [%U]
+ create mask = 777
+ force create mode = 777
[print\$]
copy = tmp
";
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
index 6d67229289..506bbeefc1 100644
--- a/selftest/target/Samba4.pm
+++ b/selftest/target/Samba4.pm
@@ -751,6 +751,13 @@ sub provision($$$$$$$$$)
posix:oplocktimeout = 3
posix:writetimeupdatedelay = 500000
+[xcopy_share]
+ path = $ctx->{tmpdir}
+ read only = no
+ posix:sharedelay = 10000
+ posix:oplocktimeout = 3
+ posix:writetimeupdatedelay = 500000
+
[test1]
path = $ctx->{tmpdir}/test1
read only = no