diff options
author | Jeremy Allison <jra@samba.org> | 2011-10-28 12:15:51 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-10-28 12:16:43 -0700 |
commit | 8c6ff21782b141571dde64e80cc42540e9177a23 (patch) | |
tree | d2adc56dc1b173620061fff0b9f80e65d6963d4a /selftest/target | |
parent | 3bd6513884f1f02fe5638a424bcb1948f0921853 (diff) | |
download | samba-8c6ff21782b141571dde64e80cc42540e9177a23.tar.gz samba-8c6ff21782b141571dde64e80cc42540e9177a23.tar.xz 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-x | selftest/target/Samba3.pm | 5 | ||||
-rw-r--r-- | selftest/target/Samba4.pm | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 6c0e4377859..3c0fbe92209 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 6d672292897..506bbeefc14 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 |