Changes between Initial Version and Version 1 of Ticket #20, comment 21


Ignore:
Timestamp:
2012-10-23T22:30:00Z (12 years ago)
Author:
davidsarah
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20, comment 21

    initial v1  
    22> To test the first of these, I created a tmpfs using {{{sudo mount -t tmpfs -o size=330m tmpfs _trial_temp}}}, and hacked Twisted Trial so that it would just use this existing directory rather than trying to delete and recreate it.
    33
    4 A better way to do that is using {{{--temp-directory}}}: trial will still attempt to delete the directory you specify, so it can't directly be the tmpfs mount, but that's OK as long as it is underneath the tmpfs mount.
     4A better way to do that is using {{{--temp-directory}}}: trial will still attempt to delete the directory you specify, so it can't directly be the tmpfs mount, but that's OK as long as it is underneath the tmpfs mount:
     5{{{
     6mkdir -p tmp
     7sudo mount -t tmpfs -o size=330m tmpfs tmp
     8bin/tahoe debug trial --rterrors --temp-directory=tmp/_trial_temp
     9}}}
     10When done:
     11{{{
     12sudo umount tmp
     13rmdir tmp
     14}}}
     15