summary refs log tree commit diff
path: root/modules/testing/test-instrumentation.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2011-03-18 13:16:40 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2011-03-18 13:16:40 +0000
commitef07a945c4f5fcbd0b67188244b71c550412a2d8 (patch)
tree1e36b9787e2d251a49fb1fee41c22b0b36e2c7f3 /modules/testing/test-instrumentation.nix
parentbe0fca57810cf2c342dc15d0f034622fde8c3684 (diff)
downloadnixpkgs-ef07a945c4f5fcbd0b67188244b71c550412a2d8.tar
nixpkgs-ef07a945c4f5fcbd0b67188244b71c550412a2d8.tar.gz
nixpkgs-ef07a945c4f5fcbd0b67188244b71c550412a2d8.tar.bz2
nixpkgs-ef07a945c4f5fcbd0b67188244b71c550412a2d8.tar.lz
nixpkgs-ef07a945c4f5fcbd0b67188244b71c550412a2d8.tar.xz
nixpkgs-ef07a945c4f5fcbd0b67188244b71c550412a2d8.tar.zst
nixpkgs-ef07a945c4f5fcbd0b67188244b71c550412a2d8.zip
* Don't echo characters on /dev/hvc0, otherwise the stdout of commands
  gets screwed up.

svn path=/nixos/trunk/; revision=26422
Diffstat (limited to 'modules/testing/test-instrumentation.nix')
-rw-r--r--modules/testing/test-instrumentation.nix2
1 files changed, 1 insertions, 1 deletions
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}
           '';