cups: 2.2.2 -> 2.2.6

This commit is contained in:
Peter Hoeg
2017-12-07 07:22:39 +00:00
committed by Orivej Desh
parent dc4200f934
commit e5715d9464
2 changed files with 13 additions and 9 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ import ./make-test.nix ({pkgs, ... }: {
$client->waitForUnit("cups.service");
$client->sleep(10); # wait until cups is fully initialized
$client->succeed("lpstat -r") =~ /scheduler is running/ or die;
$client->succeed("lpstat -H") =~ "/var/run/cups/cups.sock" or die;
$client->succeed("lpstat -H") =~ "localhost:631" or die;
$client->succeed("curl --fail http://localhost:631/");
$client->succeed("curl --fail http://server:631/");
$server->fail("curl --fail --connect-timeout 2 http://client:631/");