index 00a208fbc8bd2225cbd465dff735267f1ba87ee3..861313f5363d9094897b83f967f5782f9ae772f2 100644 (file)
#endif
#include "frontend/connection.h"
-#include "frontend/parser.h"
#include "frontend/connection-private.h"
#include "testutils.h"
@@ -283,7 +282,7 @@ fail_if_strneq(const char *got, const char *expected, size_t n, const char *fmt,
* tests
*/
-#define VALUE "\0\0\0\3""v1"
+#define VALUE "\0\0\0\4""v1"
#define VALUE_LEN 7
static struct {
},
{
SDB_CONNECTION_STORE, "\0\0\0\x12""\0\0\0\0\xd6\x93\xa4\0""h2\0s1\0aA\0"VALUE,27+VALUE_LEN,
- 0, SDB_CONNECTION_OK, 43, 0, "Successfully stored service attribute s1.aA",
- /* TODO: 46, h2.s1.aA */
+ 0, SDB_CONNECTION_OK, 46, 0, "Successfully stored service attribute h2.s1.aA",
},
{
SDB_CONNECTION_QUERY, "STORE service attribute 'h2'.'x1'.'aA' 'vA'", -1,
},
{
SDB_CONNECTION_STORE, "\0\0\0\x13""\0\0\0\0\xd6\x93\xa4\0""h1\0m1\0aA\0"VALUE, 27+VALUE_LEN,
- 0, SDB_CONNECTION_OK, 42, 0, "Successfully stored metric attribute m1.aA",
- /* TODO: 45, h1.m1.aA */
+ 0, SDB_CONNECTION_OK, 45, 0, "Successfully stored metric attribute h1.m1.aA",
},
{
SDB_CONNECTION_QUERY, "STORE metric attribute 'h1'.'x1'.'aA' 'vA'", -1,