repo.or.cz
/
Samba
/
nascimento.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
r10656: BIG merge from trunk. Features not copied over
[Samba/nascimento.git]
/
source3
/
script
/
tests
/
t_001.sh
blob
6d54d0e4895a70e2b23b282c98660a57e180c4fb
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