t1400: drop debug `echo` to actually execute `test`
commitfc0503b04e4c5f69ab74d7d0fb889c1b7c78aced
authorMartin Ågren <martin.agren@gmail.com>
Fri, 28 Sep 2018 15:43:59 +0000 (28 17:43 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 28 Sep 2018 18:45:31 +0000 (28 11:45 -0700)
treed8ecaa2d19d3546b967e90b595be3890bf9568d1
parent1d4361b0f344188ab5eec6dcea01f61a3a3a1670
t1400: drop debug `echo` to actually execute `test`

Instead of running `test "foo" = "$(bar)"`, we prefix the whole thing
with `echo`. Comparing to nearby tests makes it clear that this is just
debug leftover. This line has actually been modified four times since it
was introduced in e52290428b (General ref log reading improvements.,
2006-05-19) and the `echo` has always survived. Let's finally drop it.

This script could need some more cleanups. This is just an immediate fix
so that we actually test what we intend to.

All other hits for `git grep "\<echo test " -- t/` seem fine. They want
to create some input or expected output data.

Signed-off-by: Martin Ågren <martin.agren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1400-update-ref.sh