1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

* Test konqueror.

svn path=/nixos/trunk/; revision=16958
This commit is contained in:
Eelco Dolstra 2009-09-04 15:02:52 +00:00
parent 7fc8a1fd98
commit 3f65966653

View file

@ -14,6 +14,10 @@ rec {
{ services.xserver.enable = true;
services.httpd.enable = true;
services.httpd.adminAddr = "foo@example.org";
services.httpd.documentRoot = "${pkgs.valgrind}/share/doc/valgrind/html";
services.xserver.displayManager.slim.enable = false;
services.xserver.displayManager.kdm.enable = true;
services.xserver.displayManager.kdm.extraConfig =
@ -48,8 +52,12 @@ rec {
$client->waitForFile("/tmp/.X11-unix/X0");
sleep 60;
sleep 50;
print STDERR $client->execute("su - alice -c 'DISPLAY=:0.0 konqueror http://localhost/ &'");
sleep 10;
print STDERR $client->execute("DISPLAY=:0.0 scrot /hostfs/$ENV{out}/screen.png");
'';