Run sysrepo test with daemons started

This should get rid of TSan errors.

Change-Id: I25a8337929b7a7ce7ecdfb22fa73408202b092da
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c5058b7..0bdb166 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -241,9 +241,9 @@
     add_test(NAME start_daemons COMMAND ${FAKEROOT_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/start_daemons.sh)
     add_test(NAME setup_netopeer COMMAND ${SYSREPOCFG_EXECUTABLE} ietf-netconf-server -i ${CMAKE_CURRENT_SOURCE_DIR}/netopeer-test-config --datastore=startup --format=xml)
     add_test(NAME kill_daemons COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/kill_daemons.sh)
-    set_tests_properties(setup_netopeer PROPERTIES DEPENDS test_sysrepo_cleanup)
+    set_tests_properties(test_sysrepo_init PROPERTIES DEPENDS start_daemons)
     set_tests_properties(start_daemons PROPERTIES DEPENDS setup_netopeer)
-    set_tests_properties(test_netconf_init PROPERTIES DEPENDS start_daemons)
+    set_tests_properties(test_netconf_init PROPERTIES DEPENDS test_sysrepo_cleanup)
     set_tests_properties(test_netconf_cleanup PROPERTIES DEPENDS kill_daemons)
     set_tests_properties(kill_daemons PROPERTIES DEPENDS test_netconf)