Fix tests that use the Valgrind docs
This commit is contained in:
parent
9d82f7e53e
commit
1852e65776
|
@ -14,7 +14,7 @@ import ./make-test.nix ({ pkgs, ... }: {
|
||||||
testScript =
|
testScript =
|
||||||
''
|
''
|
||||||
$machine->waitForX;
|
$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->waitForWindow(qr/Valgrind/);
|
||||||
$machine->sleep(40); # wait until Firefox has finished loading the page
|
$machine->sleep(40); # wait until Firefox has finished loading the page
|
||||||
$machine->screenshot("screen");
|
$machine->screenshot("screen");
|
||||||
|
|
|
@ -15,7 +15,7 @@ import ./make-test.nix ({ pkgs, ... }: {
|
||||||
|
|
||||||
services.httpd.enable = true;
|
services.httpd.enable = true;
|
||||||
services.httpd.adminAddr = "foo@example.org";
|
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.enable = true;
|
||||||
services.xserver.displayManager.kdm.extraConfig =
|
services.xserver.displayManager.kdm.extraConfig =
|
||||||
|
|
|
@ -7,7 +7,7 @@ let
|
||||||
|
|
||||||
{ services.httpd.enable = true;
|
{ services.httpd.enable = true;
|
||||||
services.httpd.adminAddr = "foo@example.org";
|
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 ];
|
networking.firewall.allowedTCPPorts = [ 80 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue