cli: Add a command line flag to specify datastore
GCC doesn't like multiline raw string literals in macros, so I head to
get rid of the macro.
Change-Id: I1fe2c2f45f2b5700e682c229fdd182edc20e4d77
diff --git a/tests/data_query.cpp b/tests/data_query.cpp
index e0e2875..28c51e8 100644
--- a/tests/data_query.cpp
+++ b/tests/data_query.cpp
@@ -45,7 +45,7 @@
SysrepoSubscription subscriptionOther("other-module");
#ifdef sysrepo_BACKEND
- SysrepoAccess datastore("netconf-cli-test");
+ SysrepoAccess datastore("netconf-cli-test", Datastore::Running);
#elif defined(netconf_BACKEND)
NetconfAccess datastore(NETOPEER_SOCKET_PATH);
#else