#10259: success error code returned when spkg install fails
----------------------------+-----------------------------------------------
       Reporter:  robertwb  |         Owner:  GeorgSWeber                   
           Type:  defect    |        Status:  needs_review                  
       Priority:  major     |     Milestone:  sage-duplicate/invalid/wontfix
      Component:  build     |    Resolution:                                
       Keywords:            |   Work issues:                                
Report Upstream:  N/A       |     Reviewers:  Karl-Dieter Crisman           
        Authors:            |     Merged in:                                
   Dependencies:            |      Stopgaps:                                
----------------------------+-----------------------------------------------
Changes (by kcrisman):

  * status:  new => needs_review
  * reviewer:  => Karl-Dieter Crisman
  * milestone:  => sage-duplicate/invalid/wontfix


Comment:

 {{{
 $ ./sage -i http://trac.sagemath.org/sage_trac/raw-
 attachment/ticket/10259/bad.spkg
 Attempting to download package bad
 >>> Downloading bad.spkg.
 [.]
 bad
 ====================================================
 Extracting package
 /Users/karl.crisman/Downloads/sage-5.9.rc0/spkg/optional/bad.spkg
 <snip>
 Thread model: posix
 gcc version 4.7.2 (GCC)
 ****************************************************

 real    0m0.001s
 user    0m0.000s
 sys     0m0.000s
 ************************************************************************
 Error installing package bad
 ************************************************************************
 Please email sage-devel (http://groups.google.com/group/sage-devel)
 <snip>
 }}}
 This was on OS X.  Same result on boxes.math.  And if I write a script
 that checks the exit code
 {{{
 echo "Trying stuff"
 ./sage -i http://trac.sagemath.org/sage_trac/raw-
 attachment/ticket/10259/bad.spkg
 if [ $? -ne 0 ]; then
     echo "it failed"
 fi
 }}}
 works as expected.  I believe we can close this, then?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10259#comment:2>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to