In running doctests with my Debian installation of SAGE (where SAGE_ROOT is set to /usr/lib/sagemath), it's been annoying that one needs to run the tests as root so that SAGE can write to
- $SAGE_ROOT/tmp/test.log - .doctest_filename.py in various directories of the SAGE install - the directory .doctest in various directories of the SAGE install Writing to the SAGE install itself is a good strategy when there may be many SAGE installations on the system, since it prevents two SAGE installs from both trying to write to /tmp/test.log (or whatever). But it's bad for a multi-user setting with a single SAGE installation. I think the right way to fix this is to add a SAGE_TESTDIR environment variable, which defaults to SAGE_ROOT/tmp if it is not set, and have all these test-related files get written inside SAGE_TESTDIR. The SAGE wrapper script on Debian would set SAGE_TESTDIR to something like ~/.sage/tests (if it isn't set already by the user). Thoughts? -Tim Abbott --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---