repo.or.cz
/
Samba
/
bb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
s3:dbwrap fix return value of db_tdb_parse
[Samba/bb.git]
/
lib
/
ldb
/
tests
/
kill_slapd.sh
blob
91beb108149fdca57cdb071807cc956d888cb1ef
1
#!/bin/sh
2
3
if
[
-z
"
$LDBDIR
"
];
then
4
LDBDIR
=
`dirname
$0
`
/
..
5
export
LDBDIR
6
fi
7
8
if
[
-f test
s
/
tmp
/
slapd.pid
];
then
9
echo
"killing slapd process `cat tests/tmp/slapd.pid`"
10
kill -9
`cat tests/tmp/slapd.pid`
11
rm
-f test
s
/
tmp
/
slapd.pid
12
fi