On Feb 8, 12:11 am, [email protected] wrote:
> Hello Michael

Hi Earl,

> I'm running Bash shell.

Ok.

> Tried a couple more times to make this work and while doing so noticed
> something interesting.  When I installed this thing I placed it into a
> "/home/earl" user directory however I ran the make as root as it would
> not run as normal user.  I just tried a couple of different cycles of
> running root and then user and am getting much different result.
>
> as root it looks like this below
>
> linux-gqpn:/home/earl/programs/sage-3.2.3 # ./sage -t devel/sage/sage/
> rings/finite_field_ntl_gf2e.pyx
> sage -t  "devel/sage/sage/rings/finite_field_ntl_gf2e.pyx"
> **********************************************************************
> File "/home/earl/programs/sage-3.2.3/devel/sage/sage/rings/
> finite_field_ntl_gf2e.pyx", line 171:
>     sage: k.modulus()
> Expected:
>     x^17 + x^16 + x^15 + x^10 + x^8 + x^6 + x^4 + x^3 + x^2 + x + 1
> Got:
>     x^17 + x^3 + 1
> **********************************************************************
> 1 items had failures:

Ok, the above test is (a) already fixed in Sage 3.3 AFAWK and (b) does
not involve communication with Maxima via pexpect.

The debugging suggestion I posted was only relevant for the tests that
timed out.

<SNIP>

> I noticed from your example that the identified paths are followed by
> $ which indicated your running all this as normal user.  Have I munged
> my directory permissions?

No, if you do not set certain env variables tests create tmp files in
$SAGE_ROOT/tmp, so if the user running the test does not have write
permission there the test will fail to run. So either run the tests as
root if you used that to build Sage or alternatively set SAGE_TESTDIR
to some place where you have write access (IIRC the directoy needs to
exist), i.e.

   export SAGE_TESTDIR=$HOME/tmp

There are known problem with the second approach we haven't fixed yet
- see http://trac.sagemath.org/sage_trac/ticket/5155

> Regards
>
> Earl

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to