public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Martin Jackson <martjack@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ckermit] epel9: Actually remove upstreamed patch
Date: Sun, 22 Nov 2026 20:00:28 GMT [thread overview]
Message-ID: <179537762803.1.5385585822230607234.rpms-ckermit-9d3f4270e71e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ckermit
Branch : epel9
Commit : 9d3f4270e71ef2675fbee2749bb3c8510030b80c
Author : Martin Jackson <martjack@redhat.com>
Date : 2026-10-01T10:30:27-05:00
Stats : +0/-66 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ckermit/c/9d3f4270e71ef2675fbee2749bb3c8510030b80c?branch=epel9
Log:
Actually remove upstreamed patch
---
diff --git a/ckermit-513-fix-dirlentest.patch b/ckermit-513-fix-dirlentest.patch
deleted file mode 100644
index ff34045..0000000
--- a/ckermit-513-fix-dirlentest.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-From ea79f73a12785ef4e00b3e0dd47adcddc71ea2c6 Mon Sep 17 00:00:00 2001
-From: John Goerzen <jgoerzen@complete.org>
-Date: Wed, 30 Sep 2026 14:32:07 -0600
-Subject: [PATCH] Test: Fix the assembly of a path
-
-When tmpdir is a certain size, the generated directory name could end in
-a slash, confusing the length-selecting algorithm. Now stop the loop a
-few bytes earlier to guarantee this won't happen.
-
-Fixes #40. Thank you Martin Jackson for the report from Fedora.
----
- tests/test_wconversion_boundaries.py | 27 +++++++++++++++++----------
- 1 file changed, 17 insertions(+), 10 deletions(-)
-
-diff --git a/tests/test_wconversion_boundaries.py b/tests/test_wconversion_boundaries.py
-index 208327a..9ed4b99 100644
---- a/tests/test_wconversion_boundaries.py
-+++ b/tests/test_wconversion_boundaries.py
-@@ -23,6 +23,21 @@ def _distinct_chars(length):
- return "".join(chr(97 + (i % 26)) for i in range(length))
-
-
-+def _long_dirname(base, total=450):
-+ """Return a path under base of exactly total characters.
-+
-+ Each loop component adds 11 characters, so the loop ends between
-+ 13 and 3 characters short of total. The final component then has
-+ at least two characters and the path never ends in a slash.
-+ """
-+ path = str(base)
-+ while len(path) < total - 13:
-+ path += "/" + _distinct_chars(10)
-+ path += "/" + "x" * (total - 1 - len(path))
-+ assert len(path) == total
-+ return path
-+
-+
- def test_send_except_pattern_over_256_rejected(run_wermit):
- """Verify SEND /EXCEPT: rejects patterns longer than 256 characters."""
- pattern = _distinct_chars(300)
-@@ -106,11 +121,7 @@ def test_get_move_to_long_directory_created(tmp_path, run_wermit):
-
- The directory is created before checking for an active connection.
- """
-- destdir = str(tmp_path)
-- while len(destdir) < 440:
-- destdir += "/" + _distinct_chars(10)
-- destdir += "/" + "x" * (449 - len(destdir))
-- assert len(destdir) == 450
-+ destdir = _long_dirname(tmp_path)
-
- result = run_wermit(f"get /move-to:{destdir} nonexistent.txt")
- assert result.returncode >= 0, (
-@@ -164,11 +175,7 @@ def test_send_move_to_long_directory_created(tmp_path, run_wermit):
- """
- src = tmp_path / "f.txt"
- src.write_text("hello world")
-- destdir = str(tmp_path)
-- while len(destdir) < 440:
-- destdir += "/" + _distinct_chars(10)
-- destdir += "/" + "x" * (449 - len(destdir))
-- assert len(destdir) == 450
-+ destdir = _long_dirname(tmp_path)
-
- result = run_wermit(f"send /move-to:{destdir} {src}")
- assert result.returncode >= 0, (
reply other threads:[~2026-11-22 20:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179537762803.1.5385585822230607234.rpms-ckermit-9d3f4270e71e@fedoraproject.org \
--to=martjack@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox