mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
Backport changes from head to shorten the filenames of the test cases.
(This used to be commit e2315ebc9a
)
This commit is contained in:
parent
a141af397e
commit
7c770146d6
@ -22,7 +22,7 @@
|
||||
# says it's not done consistently.
|
||||
|
||||
template_setup() {
|
||||
cat $1.template | \
|
||||
cat template/$1 | \
|
||||
sed "s|PREFIX|$prefix|g" | \
|
||||
sed "s|BUILD_FARM|$test_root|g" | \
|
||||
sed "s|WHOAMI|$whoami|g" | \
|
||||
@ -52,13 +52,16 @@ test_smb_conf_setup() {
|
||||
exit 1
|
||||
esac
|
||||
|
||||
# Please keep these names under 15 characters,
|
||||
# so that the final name is 31 characters or fewer.
|
||||
|
||||
template_smb_conf_setup
|
||||
template_smb_conf_setup .hostsequiv
|
||||
template_smb_conf_setup .validusers
|
||||
template_smb_conf_setup .invalidusers
|
||||
template_smb_conf_setup .preexec
|
||||
template_smb_conf_setup .preexec_close
|
||||
template_smb_conf_setup .preexec_cl_fail
|
||||
template_smb_conf_setup .preexec_cl_fl
|
||||
|
||||
template_setup preexec lib/preexec
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
hostname lookups = no
|
||||
hosts equiv=PREFIX/lib/hosts.equiv
|
||||
auth methods = hostsequiv
|
@ -1 +0,0 @@
|
||||
invalid users = WHOAMI
|
@ -1 +0,0 @@
|
||||
preexec = /bin/sh PREFIX/lib/preexec
|
@ -1,2 +0,0 @@
|
||||
preexec close = yes
|
||||
preexec = PREFIX/lib/preexec_does_not_exist
|
@ -1,2 +0,0 @@
|
||||
preexec close = yes
|
||||
preexec = /bin/sh PREFIX/lib/preexec
|
@ -1,49 +0,0 @@
|
||||
[global]
|
||||
netbios name = BUILDFARM
|
||||
workgroup = TESTWG
|
||||
log level = LOGLEVEL
|
||||
debug timestamp = no
|
||||
encrypt passwords = yes
|
||||
server string = Samba %v Build Farm Tests
|
||||
name resolve order = lmhosts
|
||||
guest account = WHOAMI
|
||||
domain logons = yes
|
||||
|
||||
strict locking = yes
|
||||
|
||||
include = PREFIX/lib/smb.conf.%L
|
||||
|
||||
add machine script = useradd %u -d /dev/null -s /bin/false
|
||||
|
||||
panic action = /bin/sh BUILD_FARM/samba/testsuite/build_farm/backtrace %d
|
||||
|
||||
passdb backend = smbpasswd_nua
|
||||
|
||||
non unix account range = 10000-200000
|
||||
map hidden = yes
|
||||
create mask = 0777
|
||||
|
||||
[test]
|
||||
path = PREFIX/testdir
|
||||
read only = no
|
||||
|
||||
[samba]
|
||||
path = BUILD_FARM/samba
|
||||
read only = yes
|
||||
comment = Samba HEAD Sources
|
||||
|
||||
[samba_2_2]
|
||||
path = BUILD_FARM/samba_2_2
|
||||
read only = yes
|
||||
comment = Samba 2.2. Sources
|
||||
|
||||
[rsync]
|
||||
path = BUILD_FARM/rsync
|
||||
read only = yes
|
||||
comment = Rsync Sources
|
||||
|
||||
[guest_share]
|
||||
path = PREFIX
|
||||
guest ok = yes
|
||||
read only = yes
|
||||
comment = Unauthenticated share for use in share level test
|
@ -1 +0,0 @@
|
||||
valid users = WHOAMI
|
@ -1,2 +0,0 @@
|
||||
#!/bin/sh
|
||||
echo "Test worked" > PREFIX/testdir/preexec_touch
|
Loading…
Reference in New Issue
Block a user