]> git.ipfire.org Git - thirdparty/git.git/commit
t9001-send-email.sh: update alias list used for pine test
authorJacob Keller <jacob.keller@gmail.com>
Wed, 14 Aug 2024 00:05:10 +0000 (17:05 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Aug 2024 19:13:00 +0000 (12:13 -0700)
commitbbc04b0094621bdd6d1e60c1cd96c64d916d3339
tree1608ff5584fe6e0ffdf935df6563e76567b8dafd
parent16d89aa9753f246bdc2c97275b14eb1a33faa55f
t9001-send-email.sh: update alias list used for pine test

The set of aliases used for the pine --dump-aliases test do not
perfectly mesh with the way the pine address book is defined. While
technically all valid, there are some oddities including bob's name
being partially split so that the actual address is returned as
"Bobbyton <bob@example.com>". A strict reading of the pine documentation
indicates that the address should either be of the form
"address@domain" or a comma separated list of address, name/address
pairs, or other aliases enclosed by ().

The parsing implementation in git-send-email is not as strict, but it
makes sense to ensure the test data used is. Although the --dump-aliases
test does not make use of the address data, it is helpful to avoid
giving future developers the wrong impression of the file format.

Also add an alias which translates to multiple addresses using the ()
format.

Signed-off-by: Jacob Keller <jacob.keller@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9001-send-email.sh