Skip to content
Snippets Groups Projects
Commit 886e21d6 authored by Roman Tokarev's avatar Roman Tokarev
Browse files

Replace hardcoded path "var/tarantool.cfg" with computed one

parent b8102a62
No related branches found
No related tags found
No related merge requests found
# encoding: tarantool
#
from os.path import abspath
cfg = os.path.join(vardir, "tarantool.cfg")
print """
# Bug #708685:
......@@ -12,7 +13,7 @@ server.stop(True)
server.install(True)
# start server from config with holes in namespaces
os.unlink("var/tarantool.cfg")
os.symlink(abspath("box/tarantool_#708685.cfg"), "var/tarantool.cfg")
os.symlink(abspath("box/tarantool_#708685.cfg"), cfg)
server.start(True)
# check connection
exec admin "show stat"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment