nixosTests.bpf: handleTest -> runTest
This commit is contained in:
parent
16e6e74550
commit
4e792f525e
@ -269,7 +269,7 @@ in
|
|||||||
borgbackup = runTest ./borgbackup.nix;
|
borgbackup = runTest ./borgbackup.nix;
|
||||||
borgmatic = runTest ./borgmatic.nix;
|
borgmatic = runTest ./borgmatic.nix;
|
||||||
botamusique = runTest ./botamusique.nix;
|
botamusique = runTest ./botamusique.nix;
|
||||||
bpf = handleTestOn [ "x86_64-linux" "aarch64-linux" ] ./bpf.nix { };
|
bpf = runTestOn [ "x86_64-linux" "aarch64-linux" ] ./bpf.nix;
|
||||||
bpftune = runTest ./bpftune.nix;
|
bpftune = runTest ./bpftune.nix;
|
||||||
breitbandmessung = runTest ./breitbandmessung.nix;
|
breitbandmessung = runTest ./breitbandmessung.nix;
|
||||||
broadcast-box = runTest ./broadcast-box.nix;
|
broadcast-box = runTest ./broadcast-box.nix;
|
||||||
|
|||||||
@ -1,8 +1,7 @@
|
|||||||
import ./make-test-python.nix (
|
{ lib, ... }:
|
||||||
{ pkgs, ... }:
|
{
|
||||||
{
|
|
||||||
name = "bpf";
|
name = "bpf";
|
||||||
meta.maintainers = with pkgs.lib.maintainers; [ martinetd ];
|
meta.maintainers = with lib.maintainers; [ martinetd ];
|
||||||
|
|
||||||
nodes.machine =
|
nodes.machine =
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
@ -40,5 +39,4 @@ import ./make-test-python.nix (
|
|||||||
print(machine.succeed("bpftrace -e '#include <errno.h>\n"
|
print(machine.succeed("bpftrace -e '#include <errno.h>\n"
|
||||||
"BEGIN { printf(\"ok %d\\n\", EINVAL); exit(); }'"))
|
"BEGIN { printf(\"ok %d\\n\", EINVAL); exit(); }'"))
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
)
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user