summaryrefslogtreecommitdiff
path: root/net-misc/dropbear/files/dropbear-2024.84-test-bg-sleep.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-07 12:30:41 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-07 12:30:41 +0100
commit3c7931f8c6c90aa813912d87c684d742e0c29a05 (patch)
treefe70317ba47324f028de7df8ce1d13394263950f /net-misc/dropbear/files/dropbear-2024.84-test-bg-sleep.patch
parent7336b11bd5bd8f1cc6d445b150a6c466736c3d9d (diff)
gentoo auto-resync : 07:04:2024 - 12:30:41
Diffstat (limited to 'net-misc/dropbear/files/dropbear-2024.84-test-bg-sleep.patch')
-rw-r--r--net-misc/dropbear/files/dropbear-2024.84-test-bg-sleep.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-misc/dropbear/files/dropbear-2024.84-test-bg-sleep.patch b/net-misc/dropbear/files/dropbear-2024.84-test-bg-sleep.patch
new file mode 100644
index 000000000000..a078eb2e68b6
--- /dev/null
+++ b/net-misc/dropbear/files/dropbear-2024.84-test-bg-sleep.patch
@@ -0,0 +1,14 @@
+One test passes when run with ebuild ... test, but fails when run by portage.
+Mark it as xfail.
+
+--- a/test/test_channels.py
++++ b/test/test_channels.py
+@@ -45,7 +45,7 @@
+ r.check_returncode()
+ assert r.stdout.decode() == dat
+
+-@pytest.mark.parametrize("fd", [1, 2])
++@pytest.mark.parametrize("fd", [1, pytest.param(2, marks=pytest.mark.xfail(reason="Fails sometimes"))])
+ def test_bg_sleep(request, fd, dropbear):
+ # https://lists.ucc.asn.au/pipermail/dropbear/2006q1/000362.html
+ # Rob Landley "Is this a bug?" 24 Mar 2006