]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Move remotebackend-unix test socket to testsdir 2456/head
authorAki Tuomi <cmouse@desteem.org>
Fri, 24 Apr 2015 14:44:16 +0000 (17:44 +0300)
committerAki Tuomi <cmouse@desteem.org>
Fri, 24 Apr 2015 14:44:16 +0000 (17:44 +0300)
regression-tests/backends/remote-master

index 563ce32e34553f5f143d122068f985a4d73cd27c..0cc176a685752fbdec606070b4fb0079112ccc07 100644 (file)
@@ -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)