Fix tests that use the Valgrind docs

Changed files
+3 -3
nixos
+1 -1
nixos/tests/firefox.nix
···
testScript =
''
$machine->waitForX;
-
$machine->execute("firefox file://${pkgs.valgrind}/share/doc/valgrind/html/index.html &");
+
$machine->execute("firefox file://${pkgs.valgrind.doc}/share/doc/valgrind/html/index.html &");
$machine->waitForWindow(qr/Valgrind/);
$machine->sleep(40); # wait until Firefox has finished loading the page
$machine->screenshot("screen");
+1 -1
nixos/tests/kde4.nix
···
services.httpd.enable = true;
services.httpd.adminAddr = "foo@example.org";
-
services.httpd.documentRoot = "${pkgs.valgrind}/share/doc/valgrind/html";
+
services.httpd.documentRoot = "${pkgs.valgrind.doc}/share/doc/valgrind/html";
services.xserver.displayManager.kdm.enable = true;
services.xserver.displayManager.kdm.extraConfig =
+1 -1
nixos/tests/proxy.nix
···
{ services.httpd.enable = true;
services.httpd.adminAddr = "foo@example.org";
-
services.httpd.documentRoot = "${pkgs.valgrind}/share/doc/valgrind/html";
+
services.httpd.documentRoot = "${pkgs.valgrind.doc}/share/doc/valgrind/html";
networking.firewall.allowedTCPPorts = [ 80 ];
};