Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
ZODB
Commits
01e652c6
Commit
01e652c6
authored
Feb 10, 2003
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to be a little more careful, but these tests should be seriously
reconsidered. That's for another day, though.
parent
4bd77e47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
src/ZEO/tests/testStart.py
src/ZEO/tests/testStart.py
+7
-1
No files found.
src/ZEO/tests/testStart.py
View file @
01e652c6
...
@@ -93,7 +93,11 @@ class StartTests(unittest.TestCase):
...
@@ -93,7 +93,11 @@ class StartTests(unittest.TestCase):
try
:
try
:
os
.
kill
(
pid
,
sig
)
os
.
kill
(
pid
,
sig
)
except
os
.
error
,
err
:
except
os
.
error
,
err
:
print
err
if
err
[
0
]
==
errno
.
ESRCH
:
if
self
.
pids
.
has_key
(
pid
):
del
self
.
pids
[
pid
]
continue
raise
def
wait
(
self
,
flag
=
0
,
pids
=
None
):
def
wait
(
self
,
flag
=
0
,
pids
=
None
):
if
pids
is
None
:
if
pids
is
None
:
...
@@ -104,6 +108,8 @@ class StartTests(unittest.TestCase):
...
@@ -104,6 +108,8 @@ class StartTests(unittest.TestCase):
_pid
,
status
=
os
.
waitpid
(
pid
,
flag
)
_pid
,
status
=
os
.
waitpid
(
pid
,
flag
)
except
os
.
error
,
err
:
except
os
.
error
,
err
:
if
err
[
0
]
==
errno
.
ECHILD
:
if
err
[
0
]
==
errno
.
ECHILD
:
if
self
.
pids
.
has_key
(
pid
):
del
self
.
pids
[
pid
]
continue
continue
print
err
print
err
else
:
else
:
...
...
Write
Preview
Markdown
is supported
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