git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 3/3] fixup! send-email: teach git send-email option to translate aliases

From
Jacob Keller <jacob.e.keller@intel.com>
Date
Aug 15, 2024, 23:49 UTC
Message-ID
<20240815234924.3963696-1-jacob.e.keller@intel.com>
From: Jacob Keller <jacob.keller@gmail.com>

Two of the tests added for --translate-aliases did not set the prerequisites, so systems which build without perl support will fail the tests. Fix this.

Signed-off-by: Jacob Keller <jacob.keller@gmail.com>
---
 t/t9001-send-email.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh
index 13f1453eebb9..c5e862694e16 100755
--- a/t/t9001-send-email.sh
+++ b/t/t9001-send-email.sh
@@ -2202,7 +2202,7 @@ test_translate_aliases '--translate-aliases gnus format' \
 	(define-mail-alias "chloe" "chloe@example.com")
 	EOF
 
-test_expect_success '--translate-aliases passes valid addresses through' '
+test_expect_success $PREREQ '--translate-aliases passes valid addresses through' '
 	cat >expect <<-\EOF &&
 	Other <o@example.com>
 	EOF
@@ -2213,7 +2213,7 @@ test_expect_success '--translate-aliases passes valid addresses through' '
 	test_cmp expect actual
 '
 
-test_expect_success '--translate-aliases passes unknown aliases through' '
+test_expect_success $PREREQ '--translate-aliases passes unknown aliases through' '
 	cat >expect <<-\EOF &&
 	blargh
 	EOF
-- 
2.46.0.124.g2dc1a81c8933
Message 1 of 1 in “fixup! send-email: teach git send-email option to translate aliases”
  1. 3/3 fixup! send-email: teach git send-email option to translate aliasesJacob Keller, Aug 15, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.