diff options
Diffstat (limited to 'community/elixir/fix-release-pid-rpc-tests.patch')
-rw-r--r-- | community/elixir/fix-release-pid-rpc-tests.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/community/elixir/fix-release-pid-rpc-tests.patch b/community/elixir/fix-release-pid-rpc-tests.patch new file mode 100644 index 0000000000..230c1272fd --- /dev/null +++ b/community/elixir/fix-release-pid-rpc-tests.patch @@ -0,0 +1,26 @@ +From 2b48cc1e78dc29ecaef0f21598491fa2df373ff8 Mon Sep 17 00:00:00 2001 +From: Wouter <git@wouterklijn.com> +Date: Tue, 30 Jul 2019 21:08:43 +0200 +Subject: [PATCH] Fix release pid RPC tests + +--- + lib/mix/test/mix/tasks/release_test.exs | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/lib/mix/test/mix/tasks/release_test.exs b/lib/mix/test/mix/tasks/release_test.exs +index f200c3ea4b..793347d737 100644 +--- a/lib/mix/test/mix/tasks/release_test.exs ++++ b/lib/mix/test/mix/tasks/release_test.exs +@@ -281,10 +281,11 @@ defmodule Mix.Tasks.ReleaseTest do + open_port(script, ['start']) + wait_until_decoded(Path.join(root, "RELEASE_BOOTED")) + assert System.cmd(script, ["rpc", "ReleaseTest.hello_world"]) == {"hello world\n", 0} +- assert System.cmd(script, ["stop"]) == {"", 0} + + assert {pid, 0} = System.cmd(script, ["pid"]) + assert pid != "\n" ++ ++ assert System.cmd(script, ["stop"]) == {"", 0} + end) + end) + end |