mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
Allow us to vary the log-level, so we can run at level 1 normally,
and push it to 10 when we fail (we redo the test). Also disable the server-level security testing till it know what it does Andrew Bartlett
This commit is contained in:
parent
970236ee99
commit
805c20452e
@ -2,7 +2,8 @@ test_smb_conf_setup() {
|
||||
cat basicsmb.smb.conf.template | \
|
||||
sed "s|PREFIX|$prefix|g" | \
|
||||
sed "s|BUILD_FARM|$pwd|g" | \
|
||||
sed "s|WHOAMI|$whoami|g" \
|
||||
sed "s|WHOAMI|$whoami|g" | \
|
||||
sed "s|LOGLEVEL|$loglevel|g" \
|
||||
> $prefix/lib/smb.conf
|
||||
|
||||
echo "127.0.0.1 localhost">$prefix/lib/lmhosts
|
||||
@ -10,10 +11,10 @@ test_smb_conf_setup() {
|
||||
echo "127.0.0.1 USER">>$prefix/lib/lmhosts
|
||||
echo "127.0.0.1 SERVER">>$prefix/lib/lmhosts
|
||||
echo "127.0.0.1 DOMAIN">>$prefix/lib/lmhosts
|
||||
cp -f basicsmb.smb.conf.share $prefix/lib/smb.conf.share
|
||||
cp -f basicsmb.smb.conf.user $prefix/lib/smb.conf.user
|
||||
cp -f basicsmb.smb.conf.server $prefix/lib/smb.conf.server
|
||||
cp -f basicsmb.smb.conf.domain $prefix/lib/smb.conf.domain
|
||||
cp basicsmb.smb.conf.share $prefix/lib/smb.conf.share
|
||||
cp basicsmb.smb.conf.user $prefix/lib/smb.conf.user
|
||||
cp basicsmb.smb.conf.server $prefix/lib/smb.conf.server
|
||||
cp basicsmb.smb.conf.domain $prefix/lib/smb.conf.domain
|
||||
touch $prefix/lib/smb.conf.
|
||||
touch $prefix/lib/smb.conf.localhost
|
||||
}
|
||||
|
@ -1,2 +1,3 @@
|
||||
security=server
|
||||
password server=localhost
|
||||
password server=user
|
||||
smb password file=/dev/null
|
||||
|
@ -1,7 +1,7 @@
|
||||
[global]
|
||||
netbios name = BUILDFARM
|
||||
workgroup = TESTWG
|
||||
log level = 3
|
||||
log level = LOGLEVEL
|
||||
debug timestamp = no
|
||||
encrypt passwords = yes
|
||||
server string = Samba %v Build Farm Tests
|
||||
|
@ -1 +1,3 @@
|
||||
TEST_ALL="basicsmb-sharelist basicsmb-sharesec basicsmb-usersec basicsmb-serversec basicsmb-shareguest torture-FDPASS torture-LOCK1 torture-LOCK2 torture-LOCK3 torture-LOCK4 torture-LOCK5 torture-UNLINK torture-BROWSE torture-ATTR torture-TRANS2 torture-TORTURE torture-OPLOCK1 torture-OPLOCK3 torture-DIR torture-DENY1 torture-DENY2 torture-TCON torture-RW1 torture-RW2 torture-OPEN torture-DELETE"
|
||||
TEST_ALL="basicsmb-sharelist basicsmb-sharesec basicsmb-usersec basicsmb-shareguest torture-FDPASS torture-LOCK1 torture-LOCK2 torture-LOCK3 torture-LOCK4 torture-LOCK5 torture-UNLINK torture-BROWSE torture-ATTR torture-TRANS2 torture-TORTURE torture-OPLOCK1 torture-OPLOCK3 torture-DIR torture-DENY1 torture-DENY2 torture-TCON torture-RW1 torture-RW2 torture-OPEN torture-DELETE"
|
||||
|
||||
#basicsmb-serversec
|
||||
|
Loading…
Reference in New Issue
Block a user