summary refs log tree commit diff
path: root/lib/test-driver/test-driver.pl
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2010-02-06 13:08:15 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2010-02-06 13:08:15 +0000
commit55c349fe201a6dd09364afc846517c87eb9cf767 (patch)
tree4673a00dbea9195f7404f3bd3fb27cc1c63c9ed9 /lib/test-driver/test-driver.pl
parentfc805fe541c5844064a33f24c3dd709452ff1af0 (diff)
downloadnixpkgs-55c349fe201a6dd09364afc846517c87eb9cf767.tar
nixpkgs-55c349fe201a6dd09364afc846517c87eb9cf767.tar.gz
nixpkgs-55c349fe201a6dd09364afc846517c87eb9cf767.tar.bz2
nixpkgs-55c349fe201a6dd09364afc846517c87eb9cf767.tar.lz
nixpkgs-55c349fe201a6dd09364afc846517c87eb9cf767.tar.xz
nixpkgs-55c349fe201a6dd09364afc846517c87eb9cf767.tar.zst
nixpkgs-55c349fe201a6dd09364afc846517c87eb9cf767.zip
* Added a test that checks whether users can log in on a virtual
  console.  This uses the `sendkey' command in the QEMU monitor.
* For the block/unblock primitives, use the `set_link' command in the
  QEMU monitor.

svn path=/nixos/trunk/; revision=19854
Diffstat (limited to 'lib/test-driver/test-driver.pl')
-rw-r--r--lib/test-driver/test-driver.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/test-driver/test-driver.pl b/lib/test-driver/test-driver.pl
index 2ccc6bd4b9a..98666d6c775 100644
--- a/lib/test-driver/test-driver.pl
+++ b/lib/test-driver/test-driver.pl
@@ -37,6 +37,8 @@ sub runTests {
     foreach my $vm (values %vms) {
         my $gcovDir = "/sys/kernel/debug/gcov";
 
+        next unless $vm->isUp();
+
         my ($status, $out) = $vm->execute("test -e $gcovDir");
         next if $status != 0;