From 158c3daec141dafafd146238631ef2efe21106a1 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 12 Jul 2010 16:09:02 +0000 Subject: [PATCH] * Don't do the "poweroff -f" fallback because that prevents interactive testing ("nix-build tests/ -A nfs.vms; ./result/bin/run-vms"). svn path=/nixos/trunk/; revision=22565 --- 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 ee445ef2f45..f0922682b2a 100644 --- a/modules/testing/test-instrumentation.nix +++ b/modules/testing/test-instrumentation.nix @@ -36,7 +36,7 @@ in source /etc/profile cd /tmp echo "connecting to host..." > /dev/ttyS0 - ${pkgs.socat}/bin/socat tcp:10.0.2.6:23 exec:${rootShell} 2> /dev/ttyS0 || poweroff -f + ${pkgs.socat}/bin/socat tcp:10.0.2.6:23 exec:${rootShell} 2> /dev/ttyS0 # || poweroff -f ''; respawn = false;