chiark / gitweb /
exercise make_home()
authorRichard Kettlewell <rjk@greenend.org.uk>
Sun, 27 Apr 2008 12:15:03 +0000 (13:15 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sun, 27 Apr 2008 12:15:03 +0000 (13:15 +0100)
tests/dtest.py

index 62cf74cbd44bdd127af1dcf79304cf1f960d6d28..9439bcead790db6c5242339aedd0dfe240b0ccdf 100644 (file)
@@ -169,7 +169,7 @@ def bindable(p):
 def default_config(encoding="UTF-8"):
     """Write the default config"""
     open("%s/config" % testroot, "w").write(
-    """home %s
+    """home %s/home
 collection fs %s %s/tracks
 scratch %s/scratch.ogg
 gap 0
@@ -231,7 +231,7 @@ Start the daemon."""
             time.sleep(1)
     print " starting daemon"
     # remove the socket if it exists
-    socket = "%s/socket" % testroot
+    socket = "%s/home/socket" % testroot
     try:
         os.remove(socket)
     except: