chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c3c4009
)
exercise make_home()
author
Richard Kettlewell
<rjk@greenend.org.uk>
Sun, 27 Apr 2008 12:15:03 +0000
(13:15 +0100)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Sun, 27 Apr 2008 12:15:03 +0000
(13:15 +0100)
tests/dtest.py
patch
|
blob
|
blame
|
history
diff --git
a/tests/dtest.py
b/tests/dtest.py
index 62cf74cbd44bdd127af1dcf79304cf1f960d6d28..9439bcead790db6c5242339aedd0dfe240b0ccdf 100644
(file)
--- a/
tests/dtest.py
+++ b/
tests/dtest.py
@@
-169,7
+169,7
@@
def bindable(p):
def default_config(encoding="UTF-8"):
"""Write the default config"""
open("%s/config" % testroot, "w").write(
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
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
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:
try:
os.remove(socket)
except: