Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
clarify test that no SIGCHLD handler is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
vbraun committed Nov 21, 2013
1 parent 5ecc849 commit 7615258
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sage/libs/ecl.pyx
Expand Up @@ -264,7 +264,8 @@ def init_ecl():
#verify that no SIGCHLD handler was installed
cdef Sigaction sig_test
sigaction(SIGCHLD, NULL, &sig_test)
assert sig_test.sa_handler == NULL
assert sage_action[SIGCHLD].sa_handler == NULL # Sage does not set SIGCHLD handler
assert sig_test.sa_handler == NULL # And ECL bootup did not set one

#and put the Sage signal handlers back
for i in range(1,32):
Expand Down

0 comments on commit 7615258

Please sign in to comment.