summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-12-22 15:30:15 -0800
committerJunio C Hamano <gitster@pobox.com>2011-12-22 15:30:15 -0800
commit6fee20df5c0f233415790cae4accf386fee67923 (patch)
tree5a8edcc5f62ea44d429b4d7537c039deefc64bd7
parent2b380d81917cb4205a0c13224086fdd9268d5b71 (diff)
parenta463aefa353870dd4325ff86ab7da0195521341b (diff)
downloadgit-6fee20df5c0f233415790cae4accf386fee67923.tar.gz
Merge branch 'tr/pty-all'
* tr/pty-all: test-terminal: set output terminals to raw mode
-rwxr-xr-xt/test-terminal.perl4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/test-terminal.perl b/t/test-terminal.perl
index ee01eb957e..10172aee18 100755
--- a/t/test-terminal.perl
+++ b/t/test-terminal.perl
@@ -69,6 +69,10 @@ if ($#ARGV < 1) {
}
my $master_out = new IO::Pty;
my $master_err = new IO::Pty;
+$master_out->set_raw();
+$master_err->set_raw();
+$master_out->slave->set_raw();
+$master_err->slave->set_raw();
my $pid = start_child(\@ARGV, $master_out->slave, $master_err->slave);
close $master_out->slave;
close $master_err->slave;