Changes between Version 1 and Version 2 of Ticket #14253


Ignore:
Timestamp:
03/11/13 10:56:18 (7 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14253 – Description

    v1 v2  
    1 1) On Solaris, the default `/bin/sh` shell doesn't understand the `command` keyword.
    2 2) Using `os.access()` should be more portable and less prone to errors anyway than `command -v %s`.
     1The following is an error I cannot reproduce:
     2{{{
     3sage -t --long devel/sage/sage/misc/dist.py
     4**********************************************************************
     5File "devel/sage/sage/misc/dist.py", line 73, in sage.misc.dist.install_scripts
     6Failed example:
     7    install_scripts(str(SAGE_TMP), ignore_existing=True)
     8Expected:
     9    Checking that Sage has the command 'gap' installed
     10    ...
     11Got:
     12    /bin/sh: command: not found
     13    /bin/sh: command: not found
     14    /bin/sh: command: not found
     15    /bin/sh: command: not found
     16    /bin/sh: command: not found
     17    /bin/sh: command: not found
     18    /bin/sh: command: not found
     19    /bin/sh: command: not found
     20    /bin/sh: command: not found
     21    /bin/sh: command: not found
     22    /bin/sh: command: not found
     23    Checking that Sage has the command 'gap' installed
     24    The command 'gap' is not available as part of Sage; not creating script.
     25    <BLANKLINE>
     26    Checking that Sage has the command 'gp' installed
     27    The command 'gp' is not available as part of Sage; not creating script.
     28    <BLANKLINE>
     29    Checking that Sage has the command 'hg' installed
     30    The command 'hg' is not available as part of Sage; not creating script.
     31    <BLANKLINE>
     32    Checking that Sage has the command 'ipython' installed
     33    The command 'ipython' is not available as part of Sage; not creating script.
     34    <BLANKLINE>
     35    Checking that Sage has the command 'maxima' installed
     36    The command 'maxima' is not available as part of Sage; not creating script.
     37    <BLANKLINE>
     38    Checking that Sage has the command 'mwrank' installed
     39    The command 'mwrank' is not available as part of Sage; not creating script.
     40    <BLANKLINE>
     41    Checking that Sage has the command 'R' installed
     42    The command 'R' is not available as part of Sage; not creating script.
     43    <BLANKLINE>
     44    Checking that Sage has the command 'singular' installed
     45    The command 'singular' is not available as part of Sage; not creating script.
     46    <BLANKLINE>
     47    Checking that Sage has the command 'sqlite3' installed
     48    The command 'sqlite3' is not available as part of Sage; not creating script.
     49    <BLANKLINE>
     50    Checking that Sage has the command 'M2' installed
     51    The command 'M2' is not available as part of Sage; not creating script.
     52    <BLANKLINE>
     53    Checking that Sage has the command 'kash' installed
     54    The command 'kash' is not available as part of Sage; not creating script.
     55    <BLANKLINE>
     56    No scripts created.
     57**********************************************************************
     58}}}