t0021: put $TEST_ROOT in $PATH
commit30030a36b6428e5e4b259b88bfac615ff253fd9f
authorJeff King <peff@peff.net>
Wed, 2 Nov 2016 18:18:25 +0000 (2 14:18 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 3 Nov 2016 02:36:29 +0000 (2 19:36 -0700)
tree073c67d6cde14f92cdcf4482f690df79d4597437
parentcbb6707b1187392c9106a8c5405d1413f2db69d0
t0021: put $TEST_ROOT in $PATH

We create a rot13.sh script in the trash directory, but need
to call it by its full path when we have moved our cwd to
another directory. Let's just put $TEST_ROOT in our $PATH so
that the script is always found.

This is a minor convenience for rot13.sh, but will be a
major one when we switch rot13-filter.pl to a script in the
same directory, as it means we will not have to deal with
shell quoting inside the filter-process config.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0021-conversion.sh