t0501: workarounds for non-GNU awks
commite69a5b17e386dd98aef3fe5d003c8bdc96ec7973
authorEric Wong <normalperson@yhbt.net>
Thu, 22 Jul 2010 20:18:35 +0000 (22 20:18 +0000)
committerEric Wong <normalperson@yhbt.net>
Thu, 22 Jul 2010 20:23:14 +0000 (22 20:23 +0000)
tree3743ffbd01fec18eba233b093645744215c66226
parent7e4b39bff2e2a6d719f381c0021563df2b6689d1
t0501: workarounds for non-GNU awks

While gawk can handle binary data, other awks cannot, so
use tr(1) to filter out non-printable characters from the
WebSocket message.   We need to send a bigger message, too,
since tr(1) output is buffered and there's no portable way
to unbuffer it :<
t/cramp/rainsocket.ru
t/t0501-cramp-rainsocket.sh