lol

all tests: added meta.maintainers section

+242 -92
+8 -4
nixos/lib/testing.nix
··· 122 122 ${lib.optionalString (builtins.length vms == 1) "--set USE_SERIAL 1"} 123 123 ''; # " 124 124 125 - test = runTests driver; 126 - 127 - report = releaseTools.gcovReport { coverageRuns = [ test ]; }; 125 + passMeta = drv: drv // lib.optionalAttrs (t ? meta) { 126 + meta = (drv.meta or {}) // t.meta; 127 + }; 128 128 129 - in (if makeCoverageReport then report else test) // { inherit nodes driver test; }; 129 + test = passMeta (runTests driver); 130 + report = passMeta (releaseTools.gcovReport { coverageRuns = [ test ]; }); 130 131 132 + in (if makeCoverageReport then report else test) // { 133 + inherit nodes driver test; 134 + }; 131 135 132 136 runInMachine = 133 137 { drv
-2
nixos/release.nix
··· 330 330 services.postgresql.package = pkgs.postgresql93; 331 331 environment.systemPackages = [ pkgs.php ]; 332 332 }); 333 - 334 333 }; 335 - 336 334 }
+5 -3
nixos/tests/avahi.nix
··· 1 1 # Test whether `avahi-daemon' and `libnss-mdns' work as expected. 2 - 3 - import ./make-test.nix { 2 + import ./make-test.nix ({ pkgs, ... } : { 4 3 name = "avahi"; 4 + meta = with pkgs.stdenv.lib.maintainers; { 5 + maintainers = [ eelco chaoflow wizeman ]; 6 + }; 5 7 6 8 nodes = { 7 9 one = ··· 52 54 $two->succeed("getent hosts one.local >&2"); 53 55 $two->succeed("getent hosts two.local >&2"); 54 56 ''; 55 - } 57 + })
+3
nixos/tests/bittorrent.nix
··· 24 24 25 25 { 26 26 name = "bittorrent"; 27 + meta = with pkgs.stdenv.lib.maintainers; { 28 + maintainers = [ iElectric eelco chaoflow rob wkennington ]; 29 + }; 27 30 28 31 nodes = 29 32 { tracker =
+3
nixos/tests/blivet.nix
··· 1 1 import ./make-test.nix ({ pkgs, ... }: with pkgs.pythonPackages; rec { 2 2 name = "blivet"; 3 + meta = with pkgs.stdenv.lib.maintainers; { 4 + maintainers = [ aszlig ]; 5 + }; 3 6 4 7 machine = { 5 8 environment.systemPackages = [ pkgs.python blivet mock ];
+5 -2
nixos/tests/cadvisor.nix
··· 1 - import ./make-test.nix { 1 + import ./make-test.nix ({ pkgs, ... } : { 2 2 name = "cadvisor"; 3 + meta = with pkgs.stdenv.lib.maintainers; { 4 + maintainers = [ offline ]; 5 + }; 3 6 4 7 nodes = { 5 8 machine = { config, pkgs, ... }: { ··· 27 30 $influxdb->waitForUnit("cadvisor.service"); 28 31 $influxdb->succeed("curl http://localhost:8080/containers/"); 29 32 ''; 30 - } 33 + })
+3
nixos/tests/check-filesystems.nix
··· 7 7 8 8 rec { 9 9 name = "check-filesystems"; 10 + meta = with pkgs.stdenv.lib.maintainers; { 11 + maintainers = [ eelco chaoflow ]; 12 + }; 10 13 11 14 nodes = { 12 15 share = {pkgs, config, ...}: {
+3
nixos/tests/chromium.nix
··· 8 8 , ... 9 9 }: rec { 10 10 name = "chromium"; 11 + meta = with pkgs.stdenv.lib.maintainers; { 12 + maintainers = [ aszlig ]; 13 + }; 11 14 12 15 enableOCR = true; 13 16
+5 -2
nixos/tests/cjdns.nix
··· 22 22 23 23 in 24 24 25 - import ./make-test.nix { 25 + import ./make-test.nix ({ pkgs, ...} : { 26 26 name = "cjdns"; 27 + meta = with pkgs.stdenv.lib.maintainers; { 28 + maintainers = [ emery ]; 29 + }; 27 30 28 31 nodes = rec 29 32 { # Alice finds peers over over ETHInterface. ··· 119 122 120 123 $bob->succeed("curl --fail -g http://[$aliceIp6]"); 121 124 ''; 122 - } 125 + })
+5 -2
nixos/tests/containers.nix
··· 1 1 # Test for NixOS' container support. 2 2 3 - import ./make-test.nix { 3 + import ./make-test.nix ({ pkgs, ...} : { 4 4 name = "containers"; 5 + meta = with pkgs.stdenv.lib.maintainers; { 6 + maintainers = [ aristid aszlig eelco chaoflow ]; 7 + }; 5 8 6 9 machine = 7 10 { config, pkgs, ... }: ··· 113 116 $machine->fail("nixos-container destroy webserver"); 114 117 ''; 115 118 116 - } 119 + })
+5 -2
nixos/tests/docker-registry.nix
··· 1 1 # This test runs docker-registry and check if it works 2 2 3 - import ./make-test.nix { 3 + import ./make-test.nix ({ pkgs, ...} : { 4 4 name = "docker-registry"; 5 + meta = with pkgs.stdenv.lib.maintainers; { 6 + maintainers = [ offline ]; 7 + }; 5 8 6 9 nodes = { 7 10 registry = { config, pkgs, ... }: { ··· 37 40 $client2->succeed("docker pull registry:8080/scratch"); 38 41 $client2->succeed("docker images | grep scratch"); 39 42 ''; 40 - } 43 + })
+5 -3
nixos/tests/docker.nix
··· 1 1 # This test runs docker and checks if simple container starts 2 2 3 - import ./make-test.nix { 3 + import ./make-test.nix ({ pkgs, ...} : { 4 4 name = "docker"; 5 + meta = with pkgs.stdenv.lib.maintainers; { 6 + maintainers = [ offline ]; 7 + }; 5 8 6 9 nodes = { 7 10 docker = ··· 20 23 $docker->succeed("docker ps | grep sleeping"); 21 24 $docker->succeed("docker stop sleeping"); 22 25 ''; 23 - 24 - } 26 + })
+5 -2
nixos/tests/etcd.nix
··· 1 1 # This test runs etcd as single node, multy node and using discovery 2 2 3 - import ./make-test.nix { 3 + import ./make-test.nix ({ pkgs, ... } : { 4 4 name = "etcd"; 5 + meta = with pkgs.stdenv.lib.maintainers; { 6 + maintainers = [ offline ]; 7 + }; 5 8 6 9 nodes = { 7 10 simple = ··· 105 108 $discovery2->waitUntilSucceeds("etcdctl get /foo/bar | grep 'Hello world'"); 106 109 }; 107 110 ''; 108 - } 111 + })
+3
nixos/tests/firefox.nix
··· 1 1 import ./make-test.nix ({ pkgs, ... }: { 2 2 name = "firefox"; 3 + meta = with pkgs.stdenv.lib.maintainers; { 4 + maintainers = [ eelco chaoflow shlevy ]; 5 + }; 3 6 4 7 machine = 5 8 { config, pkgs, ... }:
+5 -3
nixos/tests/firewall.nix
··· 1 1 # Test the firewall module. 2 2 3 - import ./make-test.nix { 3 + import ./make-test.nix ( { pkgs, ... } : { 4 4 name = "firewall"; 5 + meta = with pkgs.stdenv.lib.maintainers; { 6 + maintainers = [ eelco chaoflow ]; 7 + }; 5 8 6 9 nodes = 7 10 { walled = ··· 44 47 $walled->stopJob("firewall"); 45 48 $attacker->succeed("curl -v http://walled/ >&2"); 46 49 ''; 47 - 48 - } 50 + })
+5 -2
nixos/tests/fleet.nix
··· 1 - import ./make-test.nix rec { 1 + import ./make-test.nix ({ pkgs, ...} : rec { 2 2 name = "simple"; 3 + meta = with pkgs.stdenv.lib.maintainers; { 4 + maintainers = [ offline ]; 5 + }; 3 6 4 7 nodes = { 5 8 node1 = ··· 70 73 $node1->succeed("fleetctl stop hello.service"); 71 74 $node1->succeed("fleetctl destroy hello.service"); 72 75 ''; 73 - } 76 + })
+5 -2
nixos/tests/gitlab.nix
··· 1 1 # This test runs gitlab and checks if it works 2 2 3 - import ./make-test.nix { 3 + import ./make-test.nix ({ pkgs, ...} : { 4 4 name = "gitlab"; 5 + meta = with pkgs.stdenv.lib.maintainers; { 6 + maintainers = [ iElectric offline ]; 7 + }; 5 8 6 9 nodes = { 7 10 gitlab = { config, pkgs, ... }: { ··· 18 21 $gitlab->waitForUnit("gitlab-sidekiq.service"); 19 22 $gitlab->waitUntilSucceeds("curl http://localhost:8080/users/sign_in"); 20 23 ''; 21 - } 24 + })
+5 -3
nixos/tests/gnome3.nix
··· 1 - import ./make-test.nix { 1 + import ./make-test.nix ({ pkgs, ...} : { 2 2 name = "gnome3"; 3 + meta = with pkgs.stdenv.lib.maintainers; { 4 + maintainers = [ iElectric eelco chaoflow lethalman ]; 5 + }; 3 6 4 7 machine = 5 8 { config, pkgs, ... }: ··· 28 31 $machine->sleep(20); 29 32 $machine->screenshot("screen"); 30 33 ''; 31 - 32 - } 34 + })
+5 -2
nixos/tests/i3wm.nix
··· 1 - import ./make-test.nix { 1 + import ./make-test.nix ({ pkgs, ...} : { 2 2 name = "i3wm"; 3 + meta = with pkgs.stdenv.lib.maintainers; { 4 + maintainers = [ aszlig ]; 5 + }; 3 6 4 7 machine = { lib, pkgs, ... }: { 5 8 imports = [ ./common/x11.nix ./common/user-account.nix ]; ··· 25 28 $machine->sleep(1); 26 29 $machine->screenshot("terminal"); 27 30 ''; 28 - } 31 + })
+5 -2
nixos/tests/influxdb.nix
··· 1 1 # This test runs influxdb and checks if influxdb is up and running 2 2 3 - import ./make-test.nix { 3 + import ./make-test.nix ({ pkgs, ...} : { 4 4 name = "influxdb"; 5 + meta = with pkgs.stdenv.lib.maintainers; { 6 + maintainers = [ chaoflow offline ]; 7 + }; 5 8 6 9 nodes = { 7 10 one = { config, pkgs, ... }: { ··· 33 36 --data-urlencode 'q=select * from foo limit 1' | grep 6666 34 37 ~); 35 38 ''; 36 - } 39 + })
+5 -2
nixos/tests/installer.nix
··· 149 149 makeInstallerTest = name: 150 150 { createPartitions, preBootCommands ? "", extraConfig ? "" 151 151 , grubVersion ? 2, grubDevice ? "/dev/vda" 152 - , grubIdentifier ? "uuid", enableOCR ? false 152 + , grubIdentifier ? "uuid", enableOCR ? false, meta ? {} 153 153 }: 154 154 makeTest { 155 155 inherit enableOCR; 156 156 name = "installer-" + name; 157 - 157 + meta = with pkgs.stdenv.lib.maintainers; { 158 + # put global maintainers here, individuals go into makeInstallerTest fkt call 159 + maintainers = [ wkennington ] ++ (meta.maintainers or []); 160 + }; 158 161 nodes = { 159 162 160 163 # The configuration of the machine used to run "nixos-install". It
+5 -3
nixos/tests/ipv6.nix
··· 1 1 # Test of IPv6 functionality in NixOS, including whether router 2 2 # solicication/advertisement using radvd works. 3 3 4 - import ./make-test.nix { 4 + import ./make-test.nix ({ pkgs, ...} : { 5 5 name = "ipv6"; 6 + meta = with pkgs.stdenv.lib.maintainers; { 7 + maintainers = [ eelco chaoflow ]; 8 + }; 6 9 7 10 nodes = 8 11 { client = { config, pkgs, ... }: { }; ··· 73 76 74 77 # TODO: test reachability of a machine on another network. 75 78 ''; 76 - 77 - } 79 + })
+5 -2
nixos/tests/jenkins.nix
··· 3 3 # 2. jenkins user can be extended on both master and slave 4 4 # 3. jenkins service not started on slave node 5 5 6 - import ./make-test.nix { 6 + import ./make-test.nix ({ pkgs, ...} : { 7 7 name = "jenkins"; 8 + meta = with pkgs.stdenv.lib.maintainers; { 9 + maintainers = [ bjornfor coconnor iElectric eelco chaoflow ]; 10 + }; 8 11 9 12 nodes = { 10 13 ··· 41 44 42 45 $slave->mustFail("systemctl is-enabled jenkins.service"); 43 46 ''; 44 - } 47 + })
+3
nixos/tests/kde4.nix
··· 1 1 import ./make-test.nix ({ pkgs, ... }: { 2 2 name = "kde4"; 3 + meta = with pkgs.stdenv.lib.maintainers; { 4 + maintainers = [ iElectric eelco chaoflow ]; 5 + }; 3 6 4 7 machine = 5 8 { config, pkgs, ... }:
+5 -3
nixos/tests/kexec.nix
··· 1 1 # Test whether fast reboots via kexec work. 2 2 3 - import ./make-test.nix { 3 + import ./make-test.nix ({ pkgs, ...} : { 4 4 name = "kexec"; 5 + meta = with pkgs.stdenv.lib.maintainers; { 6 + maintainers = [ eelco chaoflow ]; 7 + }; 5 8 6 9 machine = { config, pkgs, ... }: 7 10 { virtualisation.vlans = [ ]; }; ··· 13 16 $machine->{connected} = 0; 14 17 $machine->waitForUnit("multi-user.target"); 15 18 ''; 16 - 17 - } 19 + })
+5 -2
nixos/tests/kubernetes.nix
··· 1 1 # This test runs two node kubernetes cluster and checks if simple redis pod works 2 2 3 - import ./make-test.nix rec { 3 + import ./make-test.nix ({ pkgs, ...} : rec { 4 4 name = "kubernetes"; 5 + meta = with pkgs.stdenv.lib.maintainers; { 6 + maintainers = [ offline ]; 7 + }; 5 8 6 9 redisMaster = builtins.toFile "redis-master-pod.yaml" '' 7 10 id: redis-master-pod ··· 176 179 } 177 180 178 181 ''; 179 - } 182 + })
+5 -2
nixos/tests/lightdm.nix
··· 1 - import ./make-test.nix { 1 + import ./make-test.nix ({ pkgs, ...} : { 2 2 name = "lightdm"; 3 + meta = with pkgs.stdenv.lib.maintainers; { 4 + maintainers = [ aszlig ]; 5 + }; 3 6 4 7 machine = { lib, ... }: { 5 8 imports = [ ./common/user-account.nix ]; ··· 22 25 $machine->waitForText(qr/^\d{2}(?::\d{2}){2} (?:AM|PM)$/m); 23 26 $machine->screenshot("session"); 24 27 ''; 25 - } 28 + })
+3
nixos/tests/login.nix
··· 2 2 3 3 { 4 4 name = "login"; 5 + meta = with pkgs.stdenv.lib.maintainers; { 6 + maintainers = [ eelco chaoflow ]; 7 + }; 5 8 6 9 machine = 7 10 { config, pkgs, lib, ... }:
+5 -2
nixos/tests/logstash.nix
··· 1 1 # This test runs logstash and checks if messages flows and 2 2 # elasticsearch is started. 3 3 4 - import ./make-test.nix { 4 + import ./make-test.nix ({ pkgs, ...} : { 5 5 name = "logstash"; 6 + meta = with pkgs.stdenv.lib.maintainers; { 7 + maintainers = [ eelco chaoflow offline ]; 8 + }; 6 9 7 10 nodes = { 8 11 one = ··· 37 40 $one->fail("journalctl -n 20 _SYSTEMD_UNIT=logstash.service | grep dragons"); 38 41 $one->waitUntilSucceeds("curl -s http://127.0.0.1:9200/_status?pretty=true | grep logstash"); 39 42 ''; 40 - } 43 + })
+5 -2
nixos/tests/mesos.nix
··· 1 - import ./make-test.nix { 1 + import ./make-test.nix ({ pkgs, ...} : { 2 2 name = "simple"; 3 + meta = with pkgs.stdenv.lib.maintainers; { 4 + maintainers = [ offline ]; 5 + }; 3 6 4 7 machine = { config, pkgs, ... }: { 5 8 services.zookeeper.enable = true; ··· 26 29 $machine->waitForUnit("mesos-master.service"); 27 30 $machine->waitForUnit("mesos-slave.service"); 28 31 ''; 29 - } 32 + })
+5 -3
nixos/tests/misc.nix
··· 1 1 # Miscellaneous small tests that don't warrant their own VM run. 2 2 3 - import ./make-test.nix { 3 + import ./make-test.nix ({ pkgs, ...} : { 4 4 name = "misc"; 5 + meta = with pkgs.stdenv.lib.maintainers; { 6 + maintainers = [ eelco chaoflow ]; 7 + }; 5 8 6 9 machine = 7 10 { config, lib, pkgs, ... }: ··· 107 110 $machine->succeed("nix-store -qR /run/current-system | grep nixos-"); 108 111 }; 109 112 ''; 110 - 111 - } 113 + })
+5 -2
nixos/tests/mpich.nix
··· 1 1 # Simple example to showcase distributed tests using NixOS VMs. 2 2 3 - import ./make-test.nix { 3 + import ./make-test.nix ({ pkgs, ...} : { 4 4 name = "mpich"; 5 + meta = with pkgs.stdenv.lib.maintainers; { 6 + maintainers = [ eelco chaoflow ]; 7 + }; 5 8 6 9 nodes = { 7 10 master = ··· 35 38 36 39 $master->succeed("mpiexec -n 2 ./example >&2"); 37 40 ''; 38 - } 41 + })
+4 -1
nixos/tests/mumble.nix
··· 1 - import ./make-test.nix ( 1 + import ./make-test.nix ({ pkgs, ...} : 2 2 3 3 let 4 4 client = { config, pkgs, ... }: { ··· 8 8 in 9 9 { 10 10 name = "mumble"; 11 + meta = with pkgs.stdenv.lib.maintainers; { 12 + maintainers = [ thoughtpolice eelco chaoflow ]; 13 + }; 11 14 12 15 nodes = { 13 16 server = { config, pkgs, ... }: {
+5 -2
nixos/tests/munin.nix
··· 1 1 # This test runs basic munin setup with node and cron job running on the same 2 2 # machine. 3 3 4 - import ./make-test.nix { 4 + import ./make-test.nix ({ pkgs, ...} : { 5 5 name = "munin"; 6 + meta = with pkgs.stdenv.lib.maintainers; { 7 + maintainers = [ iElectric eelco chaoflow ]; 8 + }; 6 9 7 10 nodes = { 8 11 one = ··· 29 32 $one->waitForFile("/var/lib/munin/one/one-uptime-uptime-g.rrd"); 30 33 $one->waitForFile("/var/www/munin/one/index.html"); 31 34 ''; 32 - } 35 + })
+4 -1
nixos/tests/mysql-replication.nix
··· 1 - import ./make-test.nix ( 1 + import ./make-test.nix ({ pkgs, ...} : 2 2 3 3 let 4 4 replicateUser = "replicate"; ··· 7 7 8 8 { 9 9 name = "mysql-replication"; 10 + meta = with pkgs.stdenv.lib.maintainers; { 11 + maintainers = [ eelco chaoflow shlevy ]; 12 + }; 10 13 11 14 nodes = { 12 15 master =
+5 -2
nixos/tests/mysql.nix
··· 1 - import ./make-test.nix { 1 + import ./make-test.nix ({ pkgs, ...} : { 2 2 name = "mysql"; 3 + meta = with pkgs.stdenv.lib.maintainers; { 4 + maintainers = [ eelco chaoflow shlevy ]; 5 + }; 3 6 4 7 nodes = { 5 8 master = ··· 20 23 $master->sleep(10); # Hopefully this is long enough!! 21 24 $master->succeed("echo 'use testdb; select * from tests' | mysql -u root -N | grep 4"); 22 25 ''; 23 - } 26 + })
+4 -1
nixos/tests/nat.nix
··· 3 3 # client on the inside network, a server on the outside network, and a 4 4 # router connected to both that performs Network Address Translation 5 5 # for the client. 6 - import ./make-test.nix ({ withFirewall, ... }: 6 + import ./make-test.nix ({ pkgs, withFirewall, ... }: 7 7 let 8 8 unit = if withFirewall then "firewall" else "nat"; 9 9 in 10 10 { 11 11 name = "nat${if withFirewall then "WithFirewall" else "Standalone"}"; 12 + meta = with pkgs.stdenv.lib.maintainers; { 13 + maintainers = [ eelco chaoflow rob wkennington ]; 14 + }; 12 15 13 16 nodes = 14 17 { client =
+5 -3
nixos/tests/networking-proxy.nix
··· 10 10 11 11 virtualisation.memorySize = 128; 12 12 }; 13 - in import ./make-test.nix { 13 + in import ./make-test.nix ({ pkgs, ...} : { 14 14 name = "networking-proxy"; 15 + meta = with pkgs.stdenv.lib.maintainers; { 16 + maintainers = [ ]; 17 + }; 15 18 16 19 nodes = { 17 20 # no proxy ··· 105 108 $machine4->mustSucceed("su - alice -c 'env | grep -i ftp_proxy | grep 000'"); 106 109 $machine4->mustSucceed("su - alice -c 'env | grep -i no_proxy | grep 131415'"); 107 110 ''; 108 - 109 - } 111 + })
+4 -1
nixos/tests/networking.nix
··· 1 - import ./make-test.nix ({ networkd, test, ... }: 1 + import ./make-test.nix ({ pkgs, networkd, test, ... }: 2 2 let 3 3 router = { config, pkgs, ... }: 4 4 with pkgs.lib; ··· 389 389 case = testCases.${test}; 390 390 in case // { 391 391 name = "${case.name}-Networking-${if networkd then "Networkd" else "Scripted"}"; 392 + meta = with pkgs.stdenv.lib.maintainers; { 393 + maintainers = [ wkennington ]; 394 + }; 392 395 })
+4 -2
nixos/tests/nfs.nix
··· 1 - import ./make-test.nix ({ version ? 4, ... }: 1 + import ./make-test.nix ({ pkgs, version ? 4, ... }: 2 2 3 3 let 4 4 ··· 18 18 19 19 { 20 20 name = "nfs"; 21 + meta = with pkgs.stdenv.lib.maintainers; { 22 + maintainers = [ eelco chaoflow wkennington ]; 23 + }; 21 24 22 25 nodes = 23 26 { client1 = client; ··· 83 86 my $duration = time - $t1; 84 87 die "shutdown took too long ($duration seconds)" if $duration > 30; 85 88 ''; 86 - 87 89 })
+5 -2
nixos/tests/nsd.nix
··· 5 5 # for a host utility with IPv6 support 6 6 environment.systemPackages = [ pkgs.bind ]; 7 7 }; 8 - in import ./make-test.nix { 8 + in import ./make-test.nix ({ pkgs, ...} : { 9 9 name = "nsd"; 10 + meta = with pkgs.stdenv.lib.maintainers; { 11 + maintainers = [ aszlig ]; 12 + }; 10 13 11 14 nodes = { 12 15 clientv4 = { lib, nodes, ... }: { ··· 80 83 }; 81 84 } 82 85 ''; 83 - } 86 + })
+3
nixos/tests/openssh.nix
··· 17 17 18 18 in { 19 19 name = "openssh"; 20 + meta = with pkgs.stdenv.lib.maintainers; { 21 + maintainers = [ aszlig eelco chaoflow ]; 22 + }; 20 23 21 24 nodes = { 22 25
+5 -2
nixos/tests/panamax.nix
··· 1 - import ./make-test.nix { 1 + import ./make-test.nix ({ pkgs, ...} : { 2 2 name = "panamax"; 3 + meta = with pkgs.stdenv.lib.maintainers; { 4 + maintainers = [ offline ]; 5 + }; 3 6 4 7 machine = { config, pkgs, ... }: { 5 8 services.panamax.enable = true; ··· 15 18 $machine->succeed("curl --fail http://localhost:8888/ > /dev/null"); 16 19 $machine->shutdown; 17 20 ''; 18 - } 21 + })
+5 -3
nixos/tests/peerflix.nix
··· 1 1 # This test runs peerflix and checks if peerflix starts 2 2 3 - import ./make-test.nix { 3 + import ./make-test.nix ({ pkgs, ...} : { 4 4 name = "peerflix"; 5 + meta = with pkgs.stdenv.lib.maintainers; { 6 + maintainers = [ offline ]; 7 + }; 5 8 6 9 nodes = { 7 10 peerflix = ··· 17 20 $peerflix->waitForUnit("peerflix.service"); 18 21 $peerflix->waitUntilSucceeds("curl localhost:9000"); 19 22 ''; 20 - 21 - } 23 + })
+3
nixos/tests/phabricator.nix
··· 1 1 import ./make-test.nix ({ pkgs, ... }: { 2 2 name = "phabricator"; 3 + meta = with pkgs.stdenv.lib.maintainers; { 4 + maintainers = [ chaoflow ]; 5 + }; 3 6 4 7 nodes = { 5 8 storage =
+3 -1
nixos/tests/printing.nix
··· 2 2 3 3 import ./make-test.nix ({pkgs, ... }: { 4 4 name = "printing"; 5 + meta = with pkgs.stdenv.lib.maintainers; { 6 + maintainers = [ iElectric eelco chaoflow jgeerds vcunat ]; 7 + }; 5 8 6 9 nodes = { 7 10 ··· 90 93 }; 91 94 } 92 95 ''; 93 - 94 96 })
+4 -2
nixos/tests/proxy.nix
··· 1 - import ./make-test.nix ( 1 + import ./make-test.nix ({ pkgs, ...} : 2 2 3 3 let 4 4 ··· 15 15 16 16 { 17 17 name = "proxy"; 18 + meta = with pkgs.stdenv.lib.maintainers; { 19 + maintainers = [ eelco chaoflow ]; 20 + }; 18 21 19 22 nodes = 20 23 { proxy = ··· 89 92 $backend2->unblock; 90 93 $client->succeed("curl --fail http://proxy/"); 91 94 ''; 92 - 93 95 })
+4 -1
nixos/tests/quake3.nix
··· 1 - import ./make-test.nix ( 1 + import ./make-test.nix ({ pkgs, ...} : 2 2 3 3 let 4 4 ··· 14 14 15 15 rec { 16 16 name = "quake3"; 17 + meta = with pkgs.stdenv.lib.maintainers; { 18 + maintainers = [ iElectric eelco chaoflow ]; 19 + }; 17 20 18 21 # TODO: lcov doesn't work atm 19 22 #makeCoverageReport = true;
+3
nixos/tests/rabbitmq.nix
··· 2 2 3 3 import ./make-test.nix ({ pkgs, ... }: { 4 4 name = "rabbitmq"; 5 + meta = with pkgs.stdenv.lib.maintainers; { 6 + maintainers = [ eelco chaoflow offline ]; 7 + }; 5 8 6 9 nodes = { 7 10 one = { config, pkgs, ... }: {
+5 -2
nixos/tests/simple.nix
··· 1 - import ./make-test.nix { 1 + import ./make-test.nix ({ pkgs, ...} : { 2 2 name = "simple"; 3 + meta = with pkgs.stdenv.lib.maintainers; { 4 + maintainers = [ eelco ]; 5 + }; 3 6 4 7 machine = { config, pkgs, ... }: { }; 5 8 ··· 9 12 $machine->waitForUnit("multi-user.target"); 10 13 $machine->shutdown; 11 14 ''; 12 - } 15 + })
+4 -1
nixos/tests/subversion.nix
··· 1 - import ./make-test.nix ( 1 + import ./make-test.nix ({ pkgs, ...} : 2 2 3 3 let 4 4 ··· 33 33 34 34 { 35 35 name = "subversion"; 36 + meta = with pkgs.stdenv.lib.maintainers; { 37 + maintainers = [ eelco chaoflow ]; 38 + }; 36 39 37 40 nodes = 38 41 { webserver =
+5 -3
nixos/tests/tomcat.nix
··· 1 - import ./make-test.nix { 1 + import ./make-test.nix ({ pkgs, ...} : { 2 2 name = "tomcat"; 3 + meta = with pkgs.stdenv.lib.maintainers; { 4 + maintainers = [ eelco chaoflow ]; 5 + }; 3 6 4 7 nodes = { 5 8 server = ··· 25 28 $client->succeed("curl --fail http://server/examples/servlets/servlet/HelloWorldExample"); 26 29 $client->succeed("curl --fail http://server/examples/jsp/jsp2/simpletag/hello.jsp"); 27 30 ''; 28 - 29 - } 31 + })
+3
nixos/tests/trac.nix
··· 1 1 import ./make-test.nix ({ pkgs, ... }: { 2 2 name = "trac"; 3 + meta = with pkgs.stdenv.lib.maintainers; { 4 + maintainers = [ eelco chaoflow ]; 5 + }; 3 6 4 7 nodes = { 5 8 storage =
+3
nixos/tests/udisks2.nix
··· 11 11 12 12 { 13 13 name = "udisks2"; 14 + meta = with pkgs.stdenv.lib.maintainers; { 15 + maintainers = [ eelco chaoflow ]; 16 + }; 14 17 15 18 machine = 16 19 { config, pkgs, ... }:
+3
nixos/tests/virtualbox.nix
··· 298 298 299 299 in { 300 300 name = "virtualbox"; 301 + meta = with pkgs.stdenv.lib.maintainers; { 302 + maintainers = [ aszlig wkennington ]; 303 + }; 301 304 302 305 machine = { pkgs, lib, config, ... }: { 303 306 imports = let
+5 -3
nixos/tests/xfce.nix
··· 1 - import ./make-test.nix { 1 + import ./make-test.nix ({ pkgs, ...} : { 2 2 name = "xfce"; 3 + meta = with pkgs.stdenv.lib.maintainers; { 4 + maintainers = [ eelco chaoflow shlevy ]; 5 + }; 3 6 4 7 machine = 5 8 { config, pkgs, ... }: ··· 28 31 $machine->sleep(10); 29 32 $machine->screenshot("screen"); 30 33 ''; 31 - 32 - } 34 + })