From 24815ebc5f5481d95e379969eacfc0a041636f3c Mon Sep 17 00:00:00 2001 From: Viacheslav Kovalev Date: Fri, 5 Jun 2015 14:51:51 +0300 Subject: [PATCH] Fix rebar_hooks_SUITE:run_hooks_for_plugins/1 Test required `touch` utility to present on user's machine. Remove this dependency. --- test/rebar_hooks_SUITE.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/rebar_hooks_SUITE.erl b/test/rebar_hooks_SUITE.erl index ec5cc9a2..85ca0e59 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, [