cmake: tests: small cleanup
- test-specific bits belong to tests/
- XML stuff should have .xml extension to make editors happy
Change-Id: I8df999977976a7b211ed33429164d1972e18c207
diff --git a/tests/start_daemons.sh.in b/tests/start_daemons.sh.in
new file mode 100755
index 0000000..cbcd25b
--- /dev/null
+++ b/tests/start_daemons.sh.in
@@ -0,0 +1,13 @@
+set -eux -o pipefail
+shopt -s failglob
+export ASAN_OPTIONS=verify_asan_link_order=false
+export UBSAN_OPTIONS=halt_on_error=1
+
+@CMAKE_CURRENT_SOURCE_DIR@/tests/kill_daemons.sh || true
+
+@SYSREPOD_EXECUTABLE@ -l3
+sleep 1
+@SYSREPO_PLUGIND_EXECUTABLE@ -l3
+sleep 1
+@NETOPEER2_EXECUTABLE@ -U -v2 -s @NETOPEER_SOCKET_PATH@
+sleep 5