Sfoglia il codice sorgente

Fix rebar_hooks_SUITE:run_hooks_for_plugins/1

Test required `touch` utility to present on user's machine. Remove this dependency.
pull/489/head
Viacheslav Kovalev 10 anni fa
parent
commit
24815ebc5f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      test/rebar_hooks_SUITE.erl

+ 1
- 1
test/rebar_hooks_SUITE.erl Vedi File

@ -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, [

Caricamento…
Annulla
Salva