diff options
author | Thomas Rast <trast@student.ethz.ch> | 2011-12-12 19:09:14 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-12-19 12:19:57 -0800 |
commit | a463aefa353870dd4325ff86ab7da0195521341b (patch) | |
tree | 5ffb519a6cbe50e34cdc023ba2cc9fc38090f627 /t/t3600-rm.sh | |
parent | Merge branch 'jk/push-progress' (diff) | |
download | tgif-a463aefa353870dd4325ff86ab7da0195521341b.tar.xz |
test-terminal: set output terminals to raw mode
Not setting them to raw mode causes funny things to happen, such as
\n -> \r\n translation:
./test-terminal.perl echo foo | xxd
0000000: 666f 6f0d 0a foo..
(Notice the added 0d.)
To avoid this, set the (pseudo)terminal to raw mode. Note that the
IO::Pty docs recommend doing it on both master and slave.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Acked-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3600-rm.sh')
0 files changed, 0 insertions, 0 deletions