diff options
Diffstat (limited to 'tests/init.sh')
-rwxr-xr-x[-rw-r--r--] | tests/init.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/init.sh b/tests/init.sh index 909b50f63..2c4f4a2f3 100644..100755 --- a/tests/init.sh +++ b/tests/init.sh @@ -1,8 +1,11 @@ -source common.sh +# Don't start the daemon +source common/vars-and-functions.sh test -n "$TEST_ROOT" if test -d "$TEST_ROOT"; then chmod -R u+w "$TEST_ROOT" + # We would delete any daemon socket, so let's stop the daemon first. + killDaemon rm -rf "$TEST_ROOT" fi mkdir "$TEST_ROOT" |