git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
r10656: BIG merge from trunk. Features not copied over
[sfrench/samba-autobuild/.git]
/
source3
/
script
/
tests
/
t_001.sh
1
#!/bin/sh
2
3
. $SCRIPTDIR/functions
4
5
cat >$CONFFILE<<EOF
6
[global]
7
include = $LIBDIR/common.conf
8
smb ports = 139
9
10
[test]
11
path = $PREFIX_ABS/tmp
12
read only = no
13
EOF
14
15
##
16
## Test code
17
##
18
19
/bin/rm -rf $PREFIX_ABS/tmp
20
mkdir $PREFIX_ABS/tmp
21
chmod 1777 $PREFIX_ABS/tmp
22
23
start_smbd || exit $?
24
25
smbclient $CONFIGURATION -L localhost -N -p 139
26
ret=$?
27
28
stop_smbd
29
30
exit $ret