nixosTests.mpd: migrate to runTest

Part of #386873
This commit is contained in:
Piotr Kwiecinski 2025-04-16 13:39:11 +02:00
parent d3f5b059bb
commit faa19418f5
No known key found for this signature in database
GPG key ID: EC0DE1CB9D5258B4
2 changed files with 129 additions and 131 deletions

View file

@ -829,7 +829,7 @@ in
mosquitto = runTest ./mosquitto.nix;
moosefs = handleTest ./moosefs.nix { };
movim = import ./web-apps/movim { inherit recurseIntoAttrs runTest; };
mpd = handleTest ./mpd.nix { };
mpd = runTest ./mpd.nix;
mpv = runTest ./mpv.nix;
mtp = handleTest ./mtp.nix { };
multipass = handleTest ./multipass.nix { };

View file

@ -1,6 +1,5 @@
import ./make-test-python.nix (
{ pkgs, lib, ... }:
let
{ pkgs, lib, ... }:
let
track = pkgs.fetchurl {
# Sourced from http://freemusicarchive.org/music/Blue_Wave_Theory/Surf_Music_Month_Challenge/Skyhawk_Beach_fade_in
@ -54,8 +53,8 @@ import ./make-test-python.nix (
services.mpd = mpd;
systemd.services.musicService = musicService;
};
in
{
in
{
name = "mpd";
meta = {
maintainers = with lib.maintainers; [ emmanuelrosa ];
@ -146,5 +145,4 @@ import ./make-test-python.nix (
# to perform the following test:
client.fail(f"{mpc} -h serverPulseAudio status")
'';
}
)
}