git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] t9001: set TERM=dumb to prevent ANSI output
@ 2008-03-06 16:53 Johannes Schindelin
  2008-03-06 23:16 ` Junio C Hamano
  0 siblings, 1 reply; 9+ messages in thread
From: Johannes Schindelin @ 2008-03-06 16:53 UTC (permalink / raw)
  To: git, gitster


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


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-03-07 18:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-06 16:53 [PATCH] t9001: set TERM=dumb to prevent ANSI output Johannes Schindelin
2008-03-06 23:16 ` Junio C Hamano
2008-03-07  0:12   ` Johannes Schindelin
2008-03-07  4:41   ` Christian Couder
2008-03-07  5:23     ` Junio C Hamano
2008-03-07  6:16       ` Junio C Hamano
2008-03-07 11:41         ` Johannes Schindelin
2008-03-07 17:40           ` Junio C Hamano
2008-03-07 18:49             ` Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).