From 3649b8ddca0f220e962705683badc691592a8289 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [feature/flatten]" Date: Sun, 12 Jul 2020 18:36:37 +0000 Subject: Updating liguros repo --- .../python-systemd/files/233-xfail-bind.patch | 31 ---------------------- 1 file changed, 31 deletions(-) delete mode 100644 dev-python/python-systemd/files/233-xfail-bind.patch (limited to 'dev-python/python-systemd/files') diff --git a/dev-python/python-systemd/files/233-xfail-bind.patch b/dev-python/python-systemd/files/233-xfail-bind.patch deleted file mode 100644 index bb0fb761bd59..000000000000 --- a/dev-python/python-systemd/files/233-xfail-bind.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 1c0d575f7c058f227d27b1cb92d3936d0c170a5f Mon Sep 17 00:00:00 2001 -From: Mike Gilbert -Date: Tue, 21 Feb 2017 17:34:28 -0500 -Subject: [PATCH] test_daemon: xfail test_notify_with_socket if bind() fails - -This bind() call may fail if TMPDIR is too long. - -Bug: https://bugs.gentoo.org/610368 ---- - systemd/test/test_daemon.py | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/systemd/test/test_daemon.py b/systemd/test/test_daemon.py -index e827e1d..7733552 100644 ---- a/systemd/test/test_daemon.py -+++ b/systemd/test/test_daemon.py -@@ -238,7 +238,10 @@ def test_notify_bad_socket(): - def test_notify_with_socket(tmpdir): - path = tmpdir.join('socket').strpath - sock = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM) -- sock.bind(path) -+ try: -+ sock.bind(path) -+ except socket.error as e: -+ pytest.xfail('failed to bind socket (%s)' % e) - # SO_PASSCRED is not defined in python2.7 - SO_PASSCRED = getattr(socket, 'SO_PASSCRED', 16) - sock.setsockopt(socket.SOL_SOCKET, SO_PASSCRED, 1) --- -2.11.1 - -- cgit v1.3