aboutsummaryrefslogtreecommitdiffstats
path: root/community/elixir/fix-release-pid-rpc-tests.patch
diff options
context:
space:
mode:
authorDaniel Isaksen <d@duniel.no>2019-07-30 22:15:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-07-31 09:09:28 +0000
commit819115b585f7a5e0710651c6f4539c3390552263 (patch)
tree793337082ec20dfbddd2a861deff3738edc00a19 /community/elixir/fix-release-pid-rpc-tests.patch
parent386f7302ff588e4c3ce37c2f36786ca212fe8cf3 (diff)
downloadaports-819115b585f7a5e0710651c6f4539c3390552263.tar.bz2
aports-819115b585f7a5e0710651c6f4539c3390552263.tar.xz
community/elixir: bump and add missing dep
This commit upgrades community/elixir to the latest version, which at the time of writing is 1.9.1, and adds erlang-runtime-tools as a dependency.
Diffstat (limited to 'community/elixir/fix-release-pid-rpc-tests.patch')
-rw-r--r--community/elixir/fix-release-pid-rpc-tests.patch26
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