Permalink
Browse files

Move remotebackend-unix test socket to testsdir

  • Loading branch information...
1 parent ac3ae09 commit 50346d83e698fb0caa032088201929e9e34219d7 @cmouse cmouse committed Apr 24, 2015
Showing with 3 additions and 2 deletions.
  1. +3 −2 regression-tests/backends/remote-master
@@ -42,8 +42,9 @@ case $context in
sleep 20 # just a test
;;
unix)
- connstr="unix:path=/tmp/remote.socket"
- socat unix-listen:/tmp/remote.socket,fork exec:$testsdir/unix-backend.rb &
+ connstr="unix:path=$testsdir/remote.socket"
+ rm -f $testsdir/remote.socket
+ socat unix-listen:$testsdir/remote.socket,fork exec:$testsdir/unix-backend.rb &
echo $! > pdns-remotebackend.pid
;;
pipe)

0 comments on commit 50346d8

Please sign in to comment.