diff options
| author | Jacob Keller <jacob.keller@gmail.com> | 2024-08-13 17:05:09 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-08-14 09:55:03 -0700 |
| commit | 16d89aa9753f246bdc2c97275b14eb1a33faa55f (patch) | |
| tree | fa7a687372ff91b5b089d3826d51abc06303e9f0 /t/unit-tests/test-lib.c | |
| parent | 25673b1c476756ec0587fb0596ab3c22b96dc52a (diff) | |
t9001-send-email.sh: fix quoting for mailrc --dump-aliases test
The .mailrc alias file format documents that multiple addresses are
separated by spaces. The alias file used in the t9001 --dump-aliases
mailrc test have addresses which include both a name and email. These
are unquoted, so git send-email will parse this as an alias that
translates to multiple independent addresses.
The existing test does not care about this, as --dump-aliases only dumps
the alias and not the address. However, it is incorrect for a future
where --dump-aliases could also dump the mail addresses.
Fix the test to quote the aliases properly, so that they translate to a
single address.
Signed-off-by: Jacob Keller <jacob.keller@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests/test-lib.c')
0 files changed, 0 insertions, 0 deletions
