aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLuis Rascao <[email protected]>2017-07-24 23:21:11 +0100
committerLuis Rascao <[email protected]>2017-07-24 23:36:17 +0100
commit2ba5ec449413a82ea3d6b9bdd268506b25ef368c (patch)
tree16556322b5b7358ed51f0bcdb46e89450f73a01a /test
parent4ea93cce5bab132818d42248ecfd16d8ab8a5c10 (diff)
downloadrelx-2ba5ec449413a82ea3d6b9bdd268506b25ef368c.tar.gz
relx-2ba5ec449413a82ea3d6b9bdd268506b25ef368c.tar.bz2
relx-2ba5ec449413a82ea3d6b9bdd268506b25ef368c.zip
Don't use builtin status hook as default
Let people define their own when they want to.
Diffstat (limited to 'test')
-rw-r--r--test/rlx_extended_bin_SUITE.erl8
1 files changed, 1 insertions, 7 deletions
diff --git a/test/rlx_extended_bin_SUITE.erl b/test/rlx_extended_bin_SUITE.erl
index c049209..a9a7df7 100644
--- a/test/rlx_extended_bin_SUITE.erl
+++ b/test/rlx_extended_bin_SUITE.erl
@@ -1344,13 +1344,7 @@ builtin_status_script(Config) ->
timer:sleep(2000),
{ok, "pong"} = sh(filename:join([OutputDir, "foo", "bin", "foo ping"])),
%% write the status to a file
- {ok, StatusStr} = sh(filename:join([OutputDir, "foo", "bin", "foo status"])),
- ec_file:write(filename:join([OutputDir, "status.txt"]),
- StatusStr ++ ".\n"),
- os:cmd(filename:join([OutputDir, "foo", "bin", "foo stop"])),
- {ok, [Status]} = file:consult(filename:join([OutputDir, "status.txt"])),
- Apps = lists:map(fun({App, _, _}) -> App end, Status),
- {ok, [goal_app, kernel, stdlib] = lists:sort(Apps)}.
+ {ok, ""} = sh(filename:join([OutputDir, "foo", "bin", "foo status"])).
custom_status_script(Config) ->
LibDir1 = proplists:get_value(lib1, Config),