From 886e21d625b0fc9f7e69b4600a68658a4e81dcfc Mon Sep 17 00:00:00 2001
From: Roman Tokarev <rtokarev@corp.mail.ru>
Date: Thu, 17 Feb 2011 15:43:22 +0300
Subject: [PATCH] Replace hardcoded path "var/tarantool.cfg" with computed one

---
 test/box/configuration.test | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/box/configuration.test b/test/box/configuration.test
index 0e127da2ad..387d1ccacd 100644
--- a/test/box/configuration.test
+++ b/test/box/configuration.test
@@ -1,6 +1,7 @@
 # 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"
-- 
GitLab