#7995: sage-test doesn't handle all of sage-doctest's return values
-------------------------------+--------------------------------------------
 Reporter:  wjp                |         Owner:  tbd                  
     Type:  defect             |        Status:  closed               
 Priority:  major              |     Milestone:  sage-4.3.2           
Component:  doctest            |    Resolution:  fixed                
 Keywords:                     |        Author:  Willem Jan Palenstijn
 Upstream:  N/A                |      Reviewer:  Alex Ghitza          
   Merged:  sage-4.3.2.alpha0  |   Work_issues:                       
-------------------------------+--------------------------------------------

Comment(by wjp):

 I tested this, and it worked for me, as well as matching what the python
 docs say it does on unix systems. Does it not work on your system?

 The python docs for {{{os.system}}}:

 {{{
 On Unix, the return value is the exit status of the process encoded in
 the format specified for wait().
 }}}

 And for {{{os.wait}}}:

 {{{
 Wait for completion of a child process, and return a tuple containing
 its pid and exit status indication: a 16-bit number, whose low byte is
 the signal number that killed the process, and whose high byte is the
 exit status (if the signal number is zero); the high bit of the low byte
 is set if a core file was produced. Availability: Unix.
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7995#comment:12>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to