diff options
| author | Matheus Tavares <matheus.bernardino@usp.br> | 2022-08-14 22:06:36 -0300 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-08-14 22:57:11 -0700 |
| commit | bed8947751b8057bb6714c53eb15a098b62c65da (patch) | |
| tree | 038b7e8bc27af9d3122e15941c61268f55ab3127 /t/helper/test-tool.c | |
| parent | 6df543bdfcba94a9fd3406374f130febae7b64f5 (diff) | |
| download | git-bed8947751b8057bb6714c53eb15a098b62c65da.tar.gz | |
t0021: avoid grepping for a Perl-specific string at filter output
This test sets the t0021/rot13-filter.pl script as a long-running
process filter for a git checkout command. It then expects the filter to
fail producing a specific error message at stderr. In the following
commits we are going to replace the script with a C test-tool helper,
but the test currently expects the error message in a Perl-specific
format. That is, when you call `die <msg>` in Perl, it emits
"<msg> at - line 1." In preparation for the conversion, let's avoid the
Perl-specific part and only grep for <msg> itself.
Signed-off-by: Matheus Tavares <matheus.bernardino@usp.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-tool.c')
0 files changed, 0 insertions, 0 deletions
