Hi

> On Wed, Sep 02, 2009 at 02:49:28PM +1000, Minh Nguyen wrote:
> > This issue is now ticket #6861
> > http://trac.sagemath.org/sage_trac/ticket/6861

On Tue, Sep 08, 2009 at 09:11:40AM +0200, Jan Groenewald wrote:
> This issue is unresolved for me: users running sage -t in a system-wide
> install owned by root.

In fact, I am not sure how sage -t is supposed top work. Where should the 
testfile
be? Even root cannot run it:

0 r...@muizenberg:/tmp#export SAGE_TESTDIR=/tmp/
0 r...@muizenberg:/tmp#sage -t dpl.sage 
ERROR: File ./dpl.sage is missing
exit code: 1
 
----------------------------------------------------------------------
The following tests failed:


        ./dpl.sage
Total time for all tests: 0.0 seconds
0 r...@muizenberg:/tmp#sage -t /tmp/dpl.sage 
sage -t  "/tmp/dpl.sage"                                    
/usr/local/src/sage-4.1.1/local/bin/sage-preparse: File file_name is missing
  File "./dpl.py", line 18
    from /tmp/dpl import *
         ^
SyntaxError: invalid syntax

         [0.2 s]
exit code: 1024
 
----------------------------------------------------------------------
The following tests failed:


        sage -t  "/tmp/dpl.sage"
Total time for all tests: 0.2 seconds
0 r...@muizenberg:/tmp#export SAGE_TESTDIR=/root/.sage/
0 r...@muizenberg:/tmp#sage -t dpl.sage 
ERROR: File ./dpl.sage is missing
exit code: 1
 
----------------------------------------------------------------------
The following tests failed:


        ./dpl.sage
Total time for all tests: 0.0 seconds
0 r...@muizenberg:/tmp#sage -t /tmp/dpl.sage 
sage -t  "/tmp/dpl.sage"                                    
/usr/local/src/sage-4.1.1/local/bin/sage-preparse: File file_name is missing
  File "./dpl.py", line 18
    from /tmp/dpl import *
         ^
SyntaxError: invalid syntax

         [0.2 s]
exit code: 1024
 
----------------------------------------------------------------------
The following tests failed:


        sage -t  "/tmp/dpl.sage"
Total time for all tests: 0.2 seconds
0 r...@muizenberg:/tmp#



regards,
Jan
-- 
   .~. 
   /V\     Jan Groenewald
  /( )\    www.aims.ac.za
  ^^-^^ 

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to