tests/locks: save/restore global env state
authorZac Medico <zmedico@gentoo.org>
Wed, 14 Dec 2011 09:17:16 +0000 (01:17 -0800)
committerZac Medico <zmedico@gentoo.org>
Wed, 14 Dec 2011 09:17:16 +0000 (01:17 -0800)
commitb898440e35aa96cd50c74b13d26d5924d2d708ed
tree47585270b842f13f53bdeea988845bca0896e3eb
parent2dbb9bb3bdb826a7da41ba1ccd89f4f8c8ee529c
tests/locks: save/restore global env state

This ensures that global __PORTAGE_TEST_HARDLINK_LOCKS overrides work
correctly for all tests.
pym/portage/tests/locks/test_asynchronous_lock.py
pym/portage/tests/locks/test_lock_nonblock.py