diff options
author | Jonas Grosse-Holz <aber@der-b.art> | 2020-09-08 15:40:45 +0200 |
---|---|---|
committer | Jonas Grosse-Holz <aber@der-b.art> | 2020-09-08 15:40:45 +0200 |
commit | 781d2c2f1e8b509d3083b3e27d4a8d9712f08101 (patch) | |
tree | ad9ab7d363b56ac9b3cf12ca4c0b6d65aee78eed /nixos/tests/mpd.nix | |
parent | c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38 (diff) | |
download | nixpkgs-781d2c2f1e8b509d3083b3e27d4a8d9712f08101.tar nixpkgs-781d2c2f1e8b509d3083b3e27d4a8d9712f08101.tar.gz nixpkgs-781d2c2f1e8b509d3083b3e27d4a8d9712f08101.tar.bz2 nixpkgs-781d2c2f1e8b509d3083b3e27d4a8d9712f08101.tar.lz nixpkgs-781d2c2f1e8b509d3083b3e27d4a8d9712f08101.tar.xz nixpkgs-781d2c2f1e8b509d3083b3e27d4a8d9712f08101.tar.zst nixpkgs-781d2c2f1e8b509d3083b3e27d4a8d9712f08101.zip |
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.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/mpd.nix b/nixos/tests/mpd.nix index 60aef586ad5..76732c882bd 100644 --- a/nixos/tests/mpd.nix +++ b/nixos/tests/mpd.nix @@ -105,7 +105,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 |