From ef07a945c4f5fcbd0b67188244b71c550412a2d8 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 18 Mar 2011 13:16:40 +0000 Subject: [PATCH] * Don't echo characters on /dev/hvc0, otherwise the stdout of commands gets screwed up. svn path=/nixos/trunk/; revision=26422 --- modules/testing/test-instrumentation.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/testing/test-instrumentation.nix b/modules/testing/test-instrumentation.nix index 6a9e2aee293..4834df5f252 100644 --- a/modules/testing/test-instrumentation.nix +++ b/modules/testing/test-instrumentation.nix @@ -36,7 +36,7 @@ in cd /tmp exec < /dev/hvc0 > /dev/hvc0 2> /dev/ttyS0 echo "connecting to host..." >&2 - stty -F /dev/hvc0 raw # prevent nl -> cr/nl conversion + stty -F /dev/hvc0 raw -echo # prevent nl -> cr/nl conversion ${pkgs.socat}/bin/socat stdio exec:${rootShell} '';