summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Kovalev <kovyl2404@gmail.com>2015-06-05 14:51:51 +0300
committerViacheslav Kovalev <kovyl2404@gmail.com>2015-06-26 11:24:02 +0300
commit24815ebc5f5481d95e379969eacfc0a041636f3c (patch)
tree0f066338f91055218adbd9dba375d15ed6da49c9
parentab98bc15a8aac7a485e4823a098380b058821e4c (diff)
Fix rebar_hooks_SUITE:run_hooks_for_plugins/1
Test required `touch` utility to present on user's machine. Remove this dependency.
-rw-r--r--test/rebar_hooks_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rebar_hooks_SUITE.erl b/test/rebar_hooks_SUITE.erl
index ec5cc9a..85ca0e5 100644
--- a/test/rebar_hooks_SUITE.erl
+++ b/test/rebar_hooks_SUITE.erl
@@ -114,7 +114,7 @@ run_hooks_for_plugins(Config) ->
rebar_test_utils:create_app(AppDir, Name, Vsn, [kernel, stdlib]),
PluginName = rebar_test_utils:create_random_name("plugin1_"),
- mock_git_resource:mock([{config, [{pre_hooks, [{compile, "touch randomfile"}]}]}]),
+ mock_git_resource:mock([{config, [{pre_hooks, [{compile, "echo whatsup > randomfile"}]}]}]),
RConfFile = rebar_test_utils:create_config(AppDir,
[{plugins, [