From 53831dc31b457c758578f65311e0679ac980709d Mon Sep 17 00:00:00 2001 From: Viacheslav Kovalev Date: Fri, 5 Jun 2015 14:51:51 +0300 Subject: 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(-) (limited to 'test/rebar_hooks_SUITE.erl') 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, [ -- cgit v1.1