test(emqx_listeners_SUITE): fix etc dir path

This commit is contained in:
Zaiming Shi 2021-06-03 17:51:09 +02:00
parent 311cb7b659
commit 36e3675d54
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ t_restart_listeners(_) ->
ok = emqx_listeners:stop().
render_config_file() ->
Path = local_path(["..", "..", "..", "..", "etc", "emqx.conf"]),
Path = local_path(["etc", "emqx.conf"]),
{ok, Temp} = file:read_file(Path),
Vars0 = mustache_vars(),
Vars = [{atom_to_list(N), iolist_to_binary(V)} || {N, V} <- Vars0],