[PATCH] t9001: set TERM=dumb to prevent ANSI output
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Mar 6, 2008, 16:53 UTC
- Message-ID
- <alpine.LSU.1.00.0803061752340.3941@racer.site>
At least on one of my machines, Term::ReadLine tries to be clever and sends \x1b\x5b1034h at the end of the script when TERM is set to 'xterm'.
To prevent that, force TERM=dumb just for the test.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> --- t/t9001-send-email.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh index cbbfa9c..d6fcac3 100755 --- a/t/t9001-send-email.sh +++ b/t/t9001-send-email.sh @@ -68,7 +68,7 @@ Result: OK EOF test_expect_success 'Show all headers' ' - git send-email \ + TERM=dumb git send-email \ --dry-run \ --from="Example <from@example.com>" \ --to=to@example.com \
-- 1.5.4.3.571.g9aec3.dirty