openbsd-ports/devel/py-logilab-common/patches/patch-test_unittest_shellutils_py
2011-08-31 12:39:19 +00:00

12 lines
585 B
Plaintext

$OpenBSD: patch-test_unittest_shellutils_py,v 1.1 2011/08/31 12:39:19 mpi Exp $
--- test/unittest_shellutils.py.orig Thu Aug 18 16:41:21 2011
+++ test/unittest_shellutils.py Thu Aug 18 16:41:00 2011
@@ -178,6 +178,7 @@
self.assertTrue(acquire_lock(self.lock))
def test_locked_for_one_hour(self):
+ self.skip("ProcInfo only works for Linux, this test won't pass.")
self.assertTrue(acquire_lock(self.lock))
touch = datetime.datetime.fromtimestamp(time.time() - 3601).strftime("%m%d%H%M")
os.system("touch -t %s %s" % (touch, self.lock))