summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2022-11-20 02:17:26 +0100
committerGitHub <noreply@github.com>2022-11-20 02:17:26 +0100
commit1bb3114d92bb0a2100b68da61888de3a6ba8509a (patch)
tree9aa5f632a126233081700516fe95e7b01e9910c8 /nixos
parentdd634477b1599986ac5829d2d0cbb9359f4c94a3 (diff)
parentf20402f8e3d8bd4c9ccf3c36718c9922d5c4d82d (diff)
Merge pull request #201984 from hax404/deluge_test
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/deluge.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/tests/deluge.nix b/nixos/tests/deluge.nix
index 0cd1d21870adf..e8945fdea003a 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'"
     )
   '';
 })