about summary refs log tree commit diff
path: root/nixos/tests/mpd.nix
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-01-18 13:47:57 +0100
committerGitHub <noreply@github.com>2021-01-18 13:47:57 +0100
commit4eccd6f731627ba5ad9915bcf600c9329a34ca78 (patch)
treee3a32da5e840cf19b61cd56f353e3e348e8b8071 /nixos/tests/mpd.nix
parenta4d6e2cdb525246e91dcb9a1782f4dfcba9f2122 (diff)
parent781d2c2f1e8b509d3083b3e27d4a8d9712f08101 (diff)
Merge pull request #97449 from AberDerBart/mpd
nixos/mpd: fix not properly testing for songs to be in the playlist
Diffstat (limited to 'nixos/tests/mpd.nix')
-rw-r--r--nixos/tests/mpd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/mpd.nix b/nixos/tests/mpd.nix
index 63d15e813afe1..5c969fc9c9176 100644
--- a/nixos/tests/mpd.nix
+++ b/nixos/tests/mpd.nix
@@ -107,7 +107,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }:
         for track in tracks.splitlines():
             server.succeed(f"{mpc} add {track}")
 
-        _, added_tracks = server.execute(f"{mpc} listall")
+        _, added_tracks = server.execute(f"{mpc} playlist")
 
         # Check we succeeded adding audio tracks to the playlist
         assert len(added_tracks.splitlines()) > 0