diff options
author | Viacheslav Kovalev <kovyl2404@gmail.com> | 2015-06-05 14:51:51 +0300 |
---|---|---|
committer | Daniel Widgren <daniel.widgren@gmail.com> | 2015-06-26 09:20:41 +0200 |
commit | 53831dc31b457c758578f65311e0679ac980709d (patch) | |
tree | 0f066338f91055218adbd9dba375d15ed6da49c9 /test/rebar_hooks_SUITE.erl | |
parent | 473393a172b68b9263a43b8d6a77a135caf7deff (diff) |
Fix rebar_hooks_SUITE:run_hooks_for_plugins/1
Test required `touch` utility to present on user's machine. Remove this dependency.
Diffstat (limited to 'test/rebar_hooks_SUITE.erl')
-rw-r--r-- | test/rebar_hooks_SUITE.erl | 2 |
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, [ |