diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-11-15 05:45:41 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-11-15 05:45:41 +0000 |
commit | 83b2e033ece0c53bfacaad333525a35dbcba276b (patch) | |
tree | 8cc69466610e14631147160ede9bc66122de482c /dev-python/logilab-common/files | |
parent | remove unused use flag (diff) | |
download | gentoo-2-83b2e033ece0c53bfacaad333525a35dbcba276b.tar.gz gentoo-2-83b2e033ece0c53bfacaad333525a35dbcba276b.tar.bz2 gentoo-2-83b2e033ece0c53bfacaad333525a35dbcba276b.zip |
Delete older ebuilds.
Diffstat (limited to 'dev-python/logilab-common/files')
-rw-r--r-- | dev-python/logilab-common/files/logilab-common-0.21.2-disable-access-tests-as-root.patch | 31 | ||||
-rw-r--r-- | dev-python/logilab-common/files/logilab-common-0.21.2-remove-broken-tests.patch | 28 |
2 files changed, 0 insertions, 59 deletions
diff --git a/dev-python/logilab-common/files/logilab-common-0.21.2-disable-access-tests-as-root.patch b/dev-python/logilab-common/files/logilab-common-0.21.2-disable-access-tests-as-root.patch deleted file mode 100644 index dc282ccb9a36..000000000000 --- a/dev-python/logilab-common/files/logilab-common-0.21.2-disable-access-tests-as-root.patch +++ /dev/null @@ -1,31 +0,0 @@ -=== modified file 'test/unittest_fileutils.py' ---- test/unittest_fileutils.py 2007-05-14 21:26:45 +0000 -+++ test/unittest_fileutils.py 2007-05-14 21:36:23 +0000 -@@ -74,6 +74,8 @@ - - def test_mode_change(self): - """tests that mode is changed when needed""" -+ if not os.geteuid(): -+ self.skip('this test fails with root privs') - # test on non-writable file - self.assert_(not os.access(self.rpath, os.W_OK)) - wp_file = ProtectedFile(self.rpath, 'w') -@@ -85,6 +87,8 @@ - - def test_restore_on_close(self): - """tests original mode is restored on close""" -+ if not os.geteuid(): -+ self.skip('this test fails with root privs') - # test on non-writable file - self.assert_(not os.access(self.rpath, os.W_OK)) - ProtectedFile(self.rpath, 'w').close() -@@ -96,6 +100,8 @@ - - def test_mode_change_on_append(self): - """tests that mode is changed when file is opened in 'a' mode""" -+ if not os.geteuid(): -+ self.skip('this test fails with root privs') - self.assert_(not os.access(self.rpath, os.W_OK)) - wp_file = ProtectedFile(self.rpath, 'a') - self.assert_(os.access(self.rpath, os.W_OK)) - diff --git a/dev-python/logilab-common/files/logilab-common-0.21.2-remove-broken-tests.patch b/dev-python/logilab-common/files/logilab-common-0.21.2-remove-broken-tests.patch deleted file mode 100644 index 9c5797b269f7..000000000000 --- a/dev-python/logilab-common/files/logilab-common-0.21.2-remove-broken-tests.patch +++ /dev/null @@ -1,28 +0,0 @@ -=== modified file 'fileutils.py' ---- fileutils.py 2007-03-01 22:47:40 +0000 -+++ fileutils.py 2007-03-01 22:48:49 +0000 -@@ -63,11 +63,6 @@ - - def abspath_listdir(path): - """lists path's content using absolute paths -- -- >>> os.listdir('/home') -- ['adim', 'alf', 'arthur', 'auc'] -- >>> abspath_listdir('/home') -- ['/home/adim', '/home/alf', '/home/arthur', '/home/auc'] - """ - path = abspath(path) - return [join(path, filename) for filename in listdir(path)] - -=== modified file 'test/unittest_testlib.py' ---- test/unittest_testlib.py 2007-03-01 22:47:40 +0000 -+++ test/unittest_testlib.py 2007-03-01 23:42:29 +0000 -@@ -331,6 +331,7 @@ - class OutErrCaptureTC(TestCase): - - def setUp(self): -+ self.skip('cannot get this to pass') - sys.stdout = sys.stderr = StringIO() - self.runner = SkipAwareTextTestRunner(stream=StringIO(), exitfirst=True, capture=True) - - |