projects
/
samba
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial import
[samba]
/
source
/
script
/
tests
/
t_002.sh
1
#!/bin/sh
2
3
. $SCRIPTDIR/functions
4
5
cat >$CONFFILE<<EOF
6
[global]
7
include = $LIBDIR/common.conf
8
9
[test]
10
path = $PREFIX_ABS/tmp
11
read only = no
12
EOF
13
14
##
15
## Test code
16
##
17
18
/bin/rm -rf $PREFIX_ABS/tmp
19
mkdir $PREFIX_ABS/tmp
20
chmod 1777 $PREFIX_ABS/tmp
21
22
23
start_smbd || exit $?
24
25
smbtorture //localhost/test -U${USERNAME}%${PASSWORD} FDPASS
26
ret=$?
27
28
stop_smbd
29
30
exit $ret