Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HAMANO Tsukasa
OpenLDAP
Commits
844680ba
Commit
844680ba
authored
Feb 17, 2011
by
Howard Chu
Browse files
ITS#6404 fix exit codes
parent
20655ca4
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/scripts/test020-proxycache
View file @
844680ba
...
...
@@ -152,7 +152,7 @@ fi
grep
"query template"
$LOG2
>
/dev/null
RC
=
$?
if
test
$RC
!=
0
;
then
echo
"Debug messages unavailable,
test abort
ed..."
echo
"Debug messages unavailable,
remaining test skipp
ed..."
test
$KILLSERVERS
!=
no
&&
kill
-HUP
$KILLPIDS
&&
wait
exit
0
fi
...
...
@@ -256,7 +256,7 @@ case $RC in
0
)
echo
"ldapsearch should have failed!"
test
$KILLSERVERS
!=
no
&&
kill
-HUP
$KILLPIDS
exit
$RC
exit
1
;;
4
)
echo
"ldapsearch failed (
$RC
)"
...
...
@@ -283,7 +283,7 @@ case $RC in
0
)
echo
"ldapsearch should have failed!"
test
$KILLSERVERS
!=
no
&&
kill
-HUP
$KILLPIDS
exit
$RC
exit
1
;;
4
)
echo
"ldapsearch failed (
$RC
)"
...
...
@@ -406,7 +406,7 @@ case $RC in
0
)
echo
"ldapsearch should have failed!"
test
$KILLSERVERS
!=
no
&&
kill
-HUP
$KILLPIDS
exit
$RC
exit
1
;;
4
)
echo
"ldapsearch failed (
$RC
)"
...
...
@@ -433,7 +433,7 @@ case $RC in
0
)
echo
"ldapsearch should have failed!"
test
$KILLSERVERS
!=
no
&&
kill
-HUP
$KILLPIDS
exit
$RC
exit
1
;;
4
)
echo
"ldapsearch failed (
$RC
)"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment