[pybsddb] Customization of temporary directory for tests

Jesus Cea jcea at jcea.es
Thu Mar 25 04:07:40 CET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/23/2010 07:50 PM, Arfrever Frehtes Taifersar Arahesis wrote:
> Sometimes user might prefer to use a different temporary directory for tests
> than /tmp/z-Berkeley_DB (e.g. due to missing write permissions). I would like
> to suggest to support an environmental variable, which specifies temporary
> directory for tests. I'm attaching the patch.

I think the right environment variable to use would be "TMPDIR". Do you
agree?.

Enhancement just committed: http://hg.jcea.es/pybsddb/rev/bbed9dbe8f59

Thanks for the suggestion.

- -- 
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
.                              _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQCVAwUBS6rTfJlgi5GaxT1NAQKqSgP7BqpFsYrBEsQUQgxkek/o7jE4IZXnpnfg
74xgz7l8XObcsglsm9EhCvd4b5mJrITYZ3GuYnni7migADNKwBln6IpSKyjGDilV
ucCVWBijn4brMmnHSMimxKnHhvqrv0zeezZ4oWvX3GLcUAX/sT8SvvNes78umrq3
jYrYjEhOpXw=
=6bg1
-----END PGP SIGNATURE-----



More information about the pybsddb mailing list