diff options
| author | Kerin Millar <kfm@plushkava.net> | 2021-01-03 07:25:00 +0000 |
|---|---|---|
| committer | Andreas Gruenbacher <agruenba@redhat.com> | 2021-01-08 10:15:31 +0100 |
| commit | 7623b2dc0d1837ecfd58f32efc78e35834deeb38 (patch) | |
| tree | a15da4e28c38c96c224add3ce1561e0d6967c2aa /tests/git-binary-diff | |
| parent | 099394003477b83c2eb4be07fd0173d6e696cf4e (diff) | |
| download | patch-7623b2dc0d1837ecfd58f32efc78e35834deeb38.tar.gz | |
Fix test for presence of BASH_LINENO[0]
eval is not some sort of magical sandbox for executing code that might cause
the shell's parser to take exception. Render the test resilient by carrying
it out within a subshell. While at it, position the redirection so that
STDERR is, in fact, muted.
Signed-off-by: Kerin Millar <kfm@plushkava.net>
Reported-by: Paolo Pedroni <paolo.pedroni@iol.it>
Closes: https://bugs.gentoo.org/738810
Diffstat (limited to 'tests/git-binary-diff')
0 files changed, 0 insertions, 0 deletions
