summaryrefslogtreecommitdiff
path: root/sysutils/py-supervisor/files
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2012-10-29 21:20:53 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2012-10-29 21:20:53 +0000
commit18e6b74dc78e15968faf97a91d2f7d347c75b1a3 (patch)
tree63cb3230f9a39ebec270495b05d1fbea063c77fd /sysutils/py-supervisor/files
parent- Fix build (diff)
- update minimum required py-meld3 version
- use TEST_DEPENDS for tinderbox builds - add OPTIONS for unit tests - add regression-test target - add the upstream patch to fix tests [1] PR: 172851 Submitted by: Kubilay Kocak <koobs.freebsd at gmail dot com> Approved by: Ildar Hizbulin <hizel at vyborg dot ru> (maintainer) [1] Feature safe: yes
Notes
Notes: svn path=/head/; revision=306640
Diffstat (limited to 'sysutils/py-supervisor/files')
-rw-r--r--sysutils/py-supervisor/files/patch-supervisor-tests-test_childutils.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/py-supervisor/files/patch-supervisor-tests-test_childutils.py b/sysutils/py-supervisor/files/patch-supervisor-tests-test_childutils.py
new file mode 100644
index 000000000000..9d23a6c1c2c9
--- /dev/null
+++ b/sysutils/py-supervisor/files/patch-supervisor-tests-test_childutils.py
@@ -0,0 +1,11 @@
+--- supervisor/tests/test_childutils.py
++++ supervisor/tests/test_childutils.py
+@@ -41,7 +41,7 @@ class ChildUtilsTests(unittest.TestCase):
+
+ def test_get_asctime(self):
+ from supervisor.childutils import get_asctime
+- timestamp = time.mktime((2009, 1, 18, 22, 14, 7, 0, 0, 0))
++ timestamp = time.mktime((2009, 1, 18, 22, 14, 7, 0, 0, -1))
+ result = get_asctime(timestamp)
+ self.assertEqual(result, '2009-01-18 22:14:07,000')
+