nixosTests.aria2: migrate to runTest

Part Of #386873
This commit is contained in:
Martin Weinelt 2025-03-13 23:36:28 +01:00
parent f13c50690f
commit 67d315ebd4
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 48 additions and 50 deletions

View File

@ -175,7 +175,7 @@ in {
appliance-repart-image-verity-store = runTest ./appliance-repart-image-verity-store.nix;
apparmor = runTest ./apparmor;
archi = runTest ./archi.nix;
aria2 = handleTest ./aria2.nix {};
aria2 = runTest ./aria2.nix;
armagetronad = handleTest ./armagetronad.nix {};
artalk = runTest ./artalk.nix;
atd = handleTest ./atd.nix {};

View File

@ -1,6 +1,5 @@
import ./make-test-python.nix (
{ pkgs, ... }:
let
{ pkgs, ... }:
let
rpcSecret = "supersecret";
rpc-listen-port = 6800;
curlBody = {
@ -9,8 +8,8 @@ import ./make-test-python.nix (
method = "aria2.getVersion";
params = [ "token:${rpcSecret}" ];
};
in
rec {
in
{
name = "aria2";
nodes.machine = {
@ -50,5 +49,4 @@ import ./make-test-python.nix (
'';
meta.maintainers = [ pkgs.lib.maintainers.timhae ];
}
)
}