1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/elixir/fix-release-pid-rpc-tests.patch
Daniel Isaksen 819115b585 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.
2019-07-31 09:09:28 +00:00

26 lines
994 B
Diff

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