1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

tests/integration: Use absolute path for socket symlink

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 709cd5dfeb630096a1cd2062da666fee9ddca715)
This commit is contained in:
Martin Schwenke 2012-04-23 14:45:04 +10:00
parent edaead3cd5
commit 286d5aa5b1

View File

@ -622,7 +622,7 @@ daemons_start ()
daemons_start_1 $i "$@"
done
local var_dir=$CTDB_DIR/tests/var
local var_dir=$(cd $CTDB_DIR/tests/var; echo $PWD)
if [ -L /tmp/ctdb.socket -o ! -S /tmp/ctdb.socket ] ; then
ln -sf $var_dir/sock.0 /tmp/ctdb.socket || return 1