tests: kill daemons early, making breaking at "Accept" prompt safe
[ original upstream message ]
--- a/tests/run-tests.py Tue Dec 11 15:38:42 2012 -0800
+++ b/tests/run-tests.py Sun Dec 09 23:33:16 2012 +0100
@@ -929,6 +929,8 @@
times.append((test, endtime - starttime))
vlog("# Ret was:", ret)
+ killdaemons()
+
mark = '.'
skipped = (ret == SKIPPED_STATUS)
@@ -999,8 +1001,6 @@
sys.stdout.flush()
iolock.release()
- killdaemons()
-
if not options.keep_tmpdir:
shutil.rmtree(testtmp, True)
if skipped: