nixosTests.birdwatcher: handleTest -> runTest
This commit is contained in:
parent
e6817f33bd
commit
404d25243c
@ -255,7 +255,7 @@ in
|
|||||||
inherit runTest;
|
inherit runTest;
|
||||||
package = pkgs.bird3;
|
package = pkgs.bird3;
|
||||||
};
|
};
|
||||||
birdwatcher = handleTest ./birdwatcher.nix { };
|
birdwatcher = runTest ./birdwatcher.nix;
|
||||||
bitbox-bridge = runTest ./bitbox-bridge.nix;
|
bitbox-bridge = runTest ./bitbox-bridge.nix;
|
||||||
bitcoind = runTest ./bitcoind.nix;
|
bitcoind = runTest ./bitcoind.nix;
|
||||||
bittorrent = runTest ./bittorrent.nix;
|
bittorrent = runTest ./bittorrent.nix;
|
||||||
|
@ -1,21 +1,10 @@
|
|||||||
# This test does a basic functionality check for birdwatcher
|
# This test does a basic functionality check for birdwatcher
|
||||||
|
|
||||||
{
|
{
|
||||||
system ? builtins.currentSystem,
|
|
||||||
pkgs ? import ../.. {
|
|
||||||
inherit system;
|
|
||||||
config = { };
|
|
||||||
},
|
|
||||||
}:
|
|
||||||
|
|
||||||
let
|
|
||||||
inherit (import ../lib/testing-python.nix { inherit system pkgs; }) makeTest;
|
|
||||||
inherit (pkgs.lib) optionalString;
|
|
||||||
in
|
|
||||||
makeTest {
|
|
||||||
name = "birdwatcher";
|
name = "birdwatcher";
|
||||||
nodes = {
|
nodes.host1 =
|
||||||
host1 = {
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
environment.systemPackages = with pkgs; [ jq ];
|
environment.systemPackages = with pkgs; [ jq ];
|
||||||
services.bird = {
|
services.bird = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -84,7 +73,6 @@ makeTest {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
start_all()
|
start_all()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user