hook tests: fix redirection logic error in 96e7225b310
commit035cccf46eff932e7201802561656cfb17df15fb
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 29 Oct 2022 02:59:45 +0000 (29 04:59 +0200)
committerTaylor Blau <me@ttaylorr.com>
Mon, 31 Oct 2022 04:16:37 +0000 (31 00:16 -0400)
tree13a8f11608cb4d8d0986e3a4f56fcf4ef8640ded
parent63bba4fdd86d80ef061c449daa97a981a9be0792
hook tests: fix redirection logic error in 96e7225b310

The tests added in 96e7225b310 (hook: add 'run' subcommand,
2021-12-22) were redirecting to "actual" both in the body of the hook
itself and in the testing code below.

The net result was that the "2>>actual" redirection later in the test
wasn't doing anything. Let's have those redirection do what it looks
like they're doing.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
t/t1800-hook.sh