test(emqx_listeners_SUITE): fix etc dir path
This commit is contained in:
parent
311cb7b659
commit
36e3675d54
|
@ -48,7 +48,7 @@ t_restart_listeners(_) ->
|
||||||
ok = emqx_listeners:stop().
|
ok = emqx_listeners:stop().
|
||||||
|
|
||||||
render_config_file() ->
|
render_config_file() ->
|
||||||
Path = local_path(["..", "..", "..", "..", "etc", "emqx.conf"]),
|
Path = local_path(["etc", "emqx.conf"]),
|
||||||
{ok, Temp} = file:read_file(Path),
|
{ok, Temp} = file:read_file(Path),
|
||||||
Vars0 = mustache_vars(),
|
Vars0 = mustache_vars(),
|
||||||
Vars = [{atom_to_list(N), iolist_to_binary(V)} || {N, V} <- Vars0],
|
Vars = [{atom_to_list(N), iolist_to_binary(V)} || {N, V} <- Vars0],
|
||||||
|
|
Loading…
Reference in New Issue