diff options
author | Elijah Newren <newren@gmail.com> | 2020-10-16 23:39:54 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-10-18 13:17:53 -0700 |
commit | 04b65a3bc0f81ebe4c93c0064d644c560243a54f (patch) | |
tree | a602564bee82601d57fe916583ffe07e472e4a72 /run-command.c | |
parent | Git 2.28 (diff) | |
download | tgif-04b65a3bc0f81ebe4c93c0064d644c560243a54f.tar.xz |
t7518: fix flaky grep invocation
t7518.1 added in commit 862e80a413 ("ident: handle NULL email when
complaining of empty name", 2017-02-23), was trying to make sure that
the test with an empty ident did not segfault and did not result in
glibc quiety translating a NULL pointer into a name of "(null)". It did
the latter by ensuring that a grep for "null" didn't appear in the
output, but on one automatic CI run I observed the following output:
fatal: empty ident name (for <runner@fv-az128-670.gcliasfzo2nullsdbrimjtbyhg.cx.internal.cloudapp.net>) not allowed
Note that 'null' appears as a substring of the domain name, found
within 'gcliasfzo2nullsdbrimjtbyhg'. Tighten the test by searching for
"(null)" rather than "null".
Signed-off-by: Elijah Newren <newren@gmail.com>
Reviewed-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'run-command.c')
0 files changed, 0 insertions, 0 deletions