diff options
author | Martin Weinelt <mweinelt@users.noreply.github.com> | 2022-11-20 02:17:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-20 02:17:26 +0100 |
commit | 1bb3114d92bb0a2100b68da61888de3a6ba8509a (patch) | |
tree | 9aa5f632a126233081700516fe95e7b01e9910c8 /nixos | |
parent | dd634477b1599986ac5829d2d0cbb9359f4c94a3 (diff) | |
parent | f20402f8e3d8bd4c9ccf3c36718c9922d5c4d82d (diff) | |
download | nixpkgs-1bb3114d92bb0a2100b68da61888de3a6ba8509a.tar nixpkgs-1bb3114d92bb0a2100b68da61888de3a6ba8509a.tar.gz nixpkgs-1bb3114d92bb0a2100b68da61888de3a6ba8509a.tar.bz2 nixpkgs-1bb3114d92bb0a2100b68da61888de3a6ba8509a.tar.lz nixpkgs-1bb3114d92bb0a2100b68da61888de3a6ba8509a.tar.xz nixpkgs-1bb3114d92bb0a2100b68da61888de3a6ba8509a.tar.zst nixpkgs-1bb3114d92bb0a2100b68da61888de3a6ba8509a.zip |
Merge pull request #201984 from hax404/deluge_test
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/deluge.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/tests/deluge.nix b/nixos/tests/deluge.nix index 0cd1d21870a..e8945fdea00 100644 --- a/nixos/tests/deluge.nix +++ b/nixos/tests/deluge.nix @@ -54,8 +54,10 @@ import ./make-test-python.nix ({ pkgs, ...} : { declarative.wait_for_unit("deluged") declarative.wait_for_unit("delugeweb") declarative.wait_until_succeeds("curl --fail http://declarative:3142") + + # deluge-console always exits with 1. https://dev.deluge-torrent.org/ticket/3291 declarative.succeed( - "deluge-console 'connect 127.0.0.1:58846 andrew password; help' | grep -q 'rm.*Remove a torrent'" + "(deluge-console 'connect 127.0.0.1:58846 andrew password; help' || true) | grep -q 'rm.*Remove a torrent'" ) ''; }) |