summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-12-22 23:30:15 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-12-22 23:30:15 (GMT)
commit6fee20df5c0f233415790cae4accf386fee67923 (patch)
tree5a8edcc5f62ea44d429b4d7537c039deefc64bd7
parent2b380d81917cb4205a0c13224086fdd9268d5b71 (diff)
parenta463aefa353870dd4325ff86ab7da0195521341b (diff)
downloadgit-6fee20df5c0f233415790cae4accf386fee67923.zip
git-6fee20df5c0f233415790cae4accf386fee67923.tar.gz
git-6fee20df5c0f233415790cae4accf386fee67923.tar.bz2
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 ee01eb9..10172ae 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;