mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-23 17:56:53 +03:00
parent
2adb1b17c0
commit
8807f45da0
2 changed files with 89 additions and 91 deletions
|
@ -691,7 +691,7 @@ in
|
||||||
leaps = handleTest ./leaps.nix { };
|
leaps = handleTest ./leaps.nix { };
|
||||||
lemmy = handleTest ./lemmy.nix { };
|
lemmy = handleTest ./lemmy.nix { };
|
||||||
libinput = handleTest ./libinput.nix { };
|
libinput = handleTest ./libinput.nix { };
|
||||||
librenms = handleTest ./librenms.nix { };
|
librenms = runTest ./librenms.nix;
|
||||||
libresprite = handleTest ./libresprite.nix { };
|
libresprite = handleTest ./libresprite.nix { };
|
||||||
libreswan = runTest ./libreswan.nix;
|
libreswan = runTest ./libreswan.nix;
|
||||||
libreswan-nat = runTest ./libreswan-nat.nix;
|
libreswan-nat = runTest ./libreswan-nat.nix;
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
import ./make-test-python.nix (
|
{ pkgs, lib, ... }:
|
||||||
{ pkgs, lib, ... }:
|
|
||||||
|
|
||||||
let
|
let
|
||||||
api_token = "f87f42114e44b63ad1b9e3c3d33d6fbe"; # random md5 hash
|
api_token = "f87f42114e44b63ad1b9e3c3d33d6fbe"; # random md5 hash
|
||||||
wrong_api_token = "e68ba041fcf1eab923a7a6de3af5f726"; # another random md5 hash
|
wrong_api_token = "e68ba041fcf1eab923a7a6de3af5f726"; # another random md5 hash
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
name = "librenms";
|
name = "librenms";
|
||||||
meta.maintainers = lib.teams.wdz.members;
|
meta.maintainers = lib.teams.wdz.members;
|
||||||
|
|
||||||
|
@ -102,5 +101,4 @@ import ./make-test-python.nix (
|
||||||
# wait until snmphost gets polled
|
# wait until snmphost gets polled
|
||||||
librenms.wait_until_succeeds("test $(curl -H 'X-Auth-Token: ${api_token}' http://localhost/api/v0/devices/snmphost | jq -Mr .devices[0].last_polled) != 'null'")
|
librenms.wait_until_succeeds("test $(curl -H 'X-Auth-Token: ${api_token}' http://localhost/api/v0/devices/snmphost | jq -Mr .devices[0].last_polled) != 'null'")
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
)
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue