Code

sysdb.git
10 years agostore: Simplified object update based on having hosts on the toplevel only.
Sebastian Harl [Thu, 26 Jun 2014 20:55:47 +0000 (22:55 +0200)]
store: Simplified object update based on having hosts on the toplevel only.

10 years agostore: Renamed a store object's 'children' to 'services'.
Sebastian Harl [Thu, 26 Jun 2014 20:27:31 +0000 (22:27 +0200)]
store: Renamed a store object's 'children' to 'services'.

Hierarchical data will be represented using some object relationship
information rather than a weird tree construct below each host. That's going
to be more flexible.

10 years agostore: Removed obsolete TODO note.
Sebastian Harl [Thu, 26 Jun 2014 20:26:42 +0000 (22:26 +0200)]
store: Removed obsolete TODO note.

10 years agoplugin: Ignore internal loggers when checking for existing loggers.
Sebastian Harl [Wed, 25 Jun 2014 21:12:44 +0000 (23:12 +0200)]
plugin: Ignore internal loggers when checking for existing loggers.

An internal logger may currently be registered by the frontend which uses it
to send log messages to a client. Usually, these internal loggers will not
actually log stuff. Thus, we'll have to ignore them when deciding about
fallbacks.

10 years agosysdb: Wait for remaining data after the mainloop terminates.
Sebastian Harl [Wed, 25 Jun 2014 21:07:50 +0000 (23:07 +0200)]
sysdb: Wait for remaining data after the mainloop terminates.

10 years agoclient: Added sdb_client_shutdown().
Sebastian Harl [Wed, 25 Jun 2014 21:07:33 +0000 (23:07 +0200)]
client: Added sdb_client_shutdown().

10 years agoMakefile: For now, link libsysdb sources directly into sysdbd.
Sebastian Harl [Wed, 25 Jun 2014 08:40:21 +0000 (10:40 +0200)]
Makefile: For now, link libsysdb sources directly into sysdbd.

Libtool's convenience libraries don't work with programs. When linking sysdbd
previously, none of the libsysdb objects only used by plugins would have been
linked in. That is, the respective libraries could not be loaded when running
the daemon.

We'll keep the library around, though, since it's used for the unit tests.

This is just a hack but it'll go away after the API is stable and libsysdb is
turned back into a "real" library. That'll happen before the 1.0 release.

10 years agostore/frontend: Added support for integer and float comparison.
Sebastian Harl [Mon, 23 Jun 2014 20:47:01 +0000 (22:47 +0200)]
store/frontend: Added support for integer and float comparison.

This is supported only for comparing attribute values.

10 years agofrontend: Added initial parser for "data" values.
Sebastian Harl [Mon, 23 Jun 2014 18:40:24 +0000 (20:40 +0200)]
frontend: Added initial parser for "data" values.

10 years agoMerged branch 'master' of git://git.tokkee.org/sysdb.
Sebastian Harl [Mon, 23 Jun 2014 18:34:43 +0000 (20:34 +0200)]
Merged branch 'master' of git://git.tokkee.org/sysdb.

10 years agostore_lookup: Pass a data-object to parse_cmp().
Sebastian Harl [Mon, 23 Jun 2014 16:43:40 +0000 (18:43 +0200)]
store_lookup: Pass a data-object to parse_cmp().

That'll allow for comparing attribute values of any type.

10 years agostore_lookup: Added support for <, <=, >=, > when comparing attribute values.
Sebastian Harl [Mon, 23 Jun 2014 07:29:20 +0000 (09:29 +0200)]
store_lookup: Added support for <, <=, >=, > when comparing attribute values.

10 years agostore_lookup: Don't accept invalid object types in parse_cmp().
Sebastian Harl [Mon, 23 Jun 2014 07:12:11 +0000 (09:12 +0200)]
store_lookup: Don't accept invalid object types in parse_cmp().

Added a unit-test catching that.

10 years agostore_lookup_test: Fixed a memory leak.
Sebastian Harl [Mon, 23 Jun 2014 05:15:45 +0000 (07:15 +0200)]
store_lookup_test: Fixed a memory leak.

Thanks to Travis-CI for identifying this! I wonder why my local tests did not
catch this :-(

10 years agostore_lookup: Introduce conditional based attribute matchers.
Sebastian Harl [Mon, 23 Jun 2014 04:39:19 +0000 (06:39 +0200)]
store_lookup: Introduce conditional based attribute matchers.

This allows using less-than, less-equal, equal, greater-equal, greater-than
operators on attributes.

10 years agodata: Pass 'const' data objects to strlen()/format().
Sebastian Harl [Sun, 22 Jun 2014 15:28:04 +0000 (17:28 +0200)]
data: Pass 'const' data objects to strlen()/format().

10 years agostore: Added helper function to retrieve a host's attribute.
Sebastian Harl [Sun, 22 Jun 2014 14:15:18 +0000 (16:15 +0200)]
store: Added helper function to retrieve a host's attribute.

This also fixes a memory leak in case of an data_format() error.

10 years agostore_lookup_test: Verify that NULL is not a valid attribute name.
Sebastian Harl [Sun, 22 Jun 2014 14:06:42 +0000 (16:06 +0200)]
store_lookup_test: Verify that NULL is not a valid attribute name.

10 years agostore: Don't allow name to be NULL when matching attributes.
Sebastian Harl [Sun, 22 Jun 2014 12:21:50 +0000 (14:21 +0200)]
store: Don't allow name to be NULL when matching attributes.

There's no real use-case for it imho and it's just a weird special case in the
code.

10 years agostore_lookup: Simplified some internal checks.
Sebastian Harl [Sun, 22 Jun 2014 11:28:46 +0000 (13:28 +0200)]
store_lookup: Simplified some internal checks.

10 years agostore: Removed a obsolete (and now somewhat misleading) comment.
Sebastian Harl [Sun, 22 Jun 2014 10:53:04 +0000 (12:53 +0200)]
store: Removed a obsolete (and now somewhat misleading) comment.

10 years agostore_lookup: Removed unneeded forward declarations.
Sebastian Harl [Thu, 19 Jun 2014 15:46:46 +0000 (17:46 +0200)]
store_lookup: Removed unneeded forward declarations.

Also, reshuffled some functions a bit to have a more natural order now that
the matcher approach is greatly simplified.

10 years agoCleaned up some internal type names.
Sebastian Harl [Thu, 19 Jun 2014 15:35:51 +0000 (17:35 +0200)]
Cleaned up some internal type names.

10 years agostore_lookup: Removed the (now unused) host matcher.
Sebastian Harl [Thu, 19 Jun 2014 14:41:55 +0000 (16:41 +0200)]
store_lookup: Removed the (now unused) host matcher.

10 years agostore_lookup: Let attribute matchers check the attribute name.
Sebastian Harl [Thu, 19 Jun 2014 14:41:23 +0000 (16:41 +0200)]
store_lookup: Let attribute matchers check the attribute name.

10 years agostore_lookup: Made the attribute matcher a "standalone" matcher.
Sebastian Harl [Thu, 19 Jun 2014 14:21:31 +0000 (16:21 +0200)]
store_lookup: Made the attribute matcher a "standalone" matcher.

The attribute matcher will now be applied to host objects directly and then
match against that host's attributes. This further simplifies parse_cmp() and
the general workflow for matchers.

10 years agostore_lookup: Removed the (now unused) service matcher.
Sebastian Harl [Thu, 19 Jun 2014 13:09:23 +0000 (15:09 +0200)]
store_lookup: Removed the (now unused) service matcher.

10 years agostore_lookup: Let parse_cmp() use the new name matcher.
Sebastian Harl [Thu, 19 Jun 2014 12:52:16 +0000 (14:52 +0200)]
store_lookup: Let parse_cmp() use the new name matcher.

10 years agostore_lookup: Added a matcher matching by object name.
Sebastian Harl [Thu, 19 Jun 2014 12:22:52 +0000 (14:22 +0200)]
store_lookup: Added a matcher matching by object name.

This is a generic matcher applied to hosts (or their services or attributes)
and matches based on the respective object name.

Subsequently, this will replace the more complex host/service/attribute
matchers. Instead, more basic matchers will be available which can then be
combined arbitrarily using the existing logical matchers.

10 years agodoc: Add asciidoc.conf and sysdb-description.txt to EXTRA_DIST.
Sebastian Harl [Thu, 19 Jun 2014 12:18:12 +0000 (14:18 +0200)]
doc: Add asciidoc.conf and sysdb-description.txt to EXTRA_DIST.

10 years agoRemoved obsolete TODO note.
Sebastian Harl [Wed, 18 Jun 2014 08:32:07 +0000 (10:32 +0200)]
Removed obsolete TODO note.

10 years agogrammar: Simplified compare matcher parser.
Sebastian Harl [Mon, 16 Jun 2014 06:35:19 +0000 (08:35 +0200)]
grammar: Simplified compare matcher parser.

10 years agodata: Added sdb_data_cmp() comparing two data points.
Sebastian Harl [Thu, 12 Jun 2014 16:57:29 +0000 (18:57 +0200)]
data: Added sdb_data_cmp() comparing two data points.

10 years agoRenamed DBI_TYPE_TO_SC to DBI_TYPE_TO_SDB.
Sebastian Harl [Wed, 11 Jun 2014 09:37:28 +0000 (11:37 +0200)]
Renamed DBI_TYPE_TO_SC to DBI_TYPE_TO_SDB.

The old name was still from the times the project was called syscollector ;-)

10 years agoMerged branch 'master' of git://git.tokkee.org/sysdb.
Sebastian Harl [Mon, 9 Jun 2014 12:41:12 +0000 (14:41 +0200)]
Merged branch 'master' of git://git.tokkee.org/sysdb.

10 years agosysdbd: Forcefully terminate the frontend and backend loops.
Sebastian Harl [Fri, 6 Jun 2014 20:37:06 +0000 (22:37 +0200)]
sysdbd: Forcefully terminate the frontend and backend loops.

10 years agosysdbd: Simplified main loop management.
Sebastian Harl [Fri, 6 Jun 2014 20:22:04 +0000 (22:22 +0200)]
sysdbd: Simplified main loop management.

10 years agoautogen.sh: Report an error if yacc or lex are missing.
Sebastian Harl [Wed, 4 Jun 2014 19:50:07 +0000 (21:50 +0200)]
autogen.sh: Report an error if yacc or lex are missing.

Thanks to Uli Martens for reporting this.

10 years agoReplaced old URLs/email addresses with sysdb.io.
Sebastian Harl [Tue, 3 Jun 2014 06:26:02 +0000 (08:26 +0200)]
Replaced old URLs/email addresses with sysdb.io.

10 years agot/Makefile: Added valgrind.suppress to EXTRA_DIST.
Sebastian Harl [Sun, 1 Jun 2014 16:42:40 +0000 (18:42 +0200)]
t/Makefile: Added valgrind.suppress to EXTRA_DIST.

10 years agoversion-gen.sh: Append .git to default version again.
Sebastian Harl [Sun, 1 Jun 2014 16:41:17 +0000 (18:41 +0200)]
version-gen.sh: Append .git to default version again.

10 years agoRelease SysDB 0.1.0. sysdb-0.1.0
Sebastian Harl [Sun, 1 Jun 2014 15:56:19 +0000 (17:56 +0200)]
Release SysDB 0.1.0.

\o/

10 years agodoc/asciidoc.conf: Use html5 in custom macros as well.
Sebastian Harl [Sun, 1 Jun 2014 10:03:01 +0000 (12:03 +0200)]
doc/asciidoc.conf: Use html5 in custom macros as well.

10 years agodoc/: Use HTML5 instead of XHTML1.1 for HTML manpages.
Sebastian Harl [Sun, 1 Jun 2014 09:59:22 +0000 (11:59 +0200)]
doc/: Use HTML5 instead of XHTML1.1 for HTML manpages.

10 years agodoc/: Removed now unused CSS.
Sebastian Harl [Sun, 1 Jun 2014 07:55:25 +0000 (09:55 +0200)]
doc/: Removed now unused CSS.

10 years agodoc/: Added local rules to hook HTML manpages into 'make (install-)html'.
Sebastian Harl [Sun, 1 Jun 2014 05:16:08 +0000 (07:16 +0200)]
doc/: Added local rules to hook HTML manpages into 'make (install-)html'.

10 years agoconfigure: Check if AM_PROG_AR is defined.
Sebastian Harl [Sat, 31 May 2014 20:57:02 +0000 (22:57 +0200)]
configure: Check if AM_PROG_AR is defined.

It's not defined when using old versions of automake.

10 years agosysdbd.conf(5): Link to all plugin manpages.
Sebastian Harl [Fri, 30 May 2014 12:38:57 +0000 (14:38 +0200)]
sysdbd.conf(5): Link to all plugin manpages.

10 years agoconfigure, doc: Added ADOCFLAGS.
Sebastian Harl [Mon, 26 May 2014 07:44:21 +0000 (09:44 +0200)]
configure, doc: Added ADOCFLAGS.

This allows the user to specify additional flags for AsciiDoc.

10 years agodoc: Use asciidoc instead of a2x and added asciidoc.conf.
Sebastian Harl [Fri, 23 May 2014 17:46:37 +0000 (19:46 +0200)]
doc: Use asciidoc instead of a2x and added asciidoc.conf.

This allows to specify custom macros, which is currently used to turn
references to other manpages into links in the HTML output. In general, it
will make it easier to apply customizations.

10 years agodoc/sysdb-man.css: Applied tokkee.org-like style.
Sebastian Harl [Tue, 20 May 2014 13:34:17 +0000 (15:34 +0200)]
doc/sysdb-man.css: Applied tokkee.org-like style.

10 years agodoc/Makefile: Removed the dependency on docbook-xsl.css.
Sebastian Harl [Tue, 20 May 2014 13:27:15 +0000 (15:27 +0200)]
doc/Makefile: Removed the dependency on docbook-xsl.css.

Also, get rid of the ugly hack to "create" it.

10 years agodoc: Added a minimalistic custom CSS for manpages.
Sebastian Harl [Mon, 19 May 2014 18:21:17 +0000 (20:21 +0200)]
doc: Added a minimalistic custom CSS for manpages.

10 years agotests: Suppress valgrind errors found in gcov_exit.
Sebastian Harl [Mon, 19 May 2014 07:18:28 +0000 (09:18 +0200)]
tests: Suppress valgrind errors found in gcov_exit.

They don't matter for us.

10 years agostrbuf_test: Added some tests based on sdb_strbuf_cap().
Sebastian Harl [Fri, 16 May 2014 15:38:38 +0000 (17:38 +0200)]
strbuf_test: Added some tests based on sdb_strbuf_cap().

These are mostly for checking memory handling.

10 years agostrbuf utils: Added sdb_strbuf_cap().
Sebastian Harl [Fri, 16 May 2014 06:49:38 +0000 (08:49 +0200)]
strbuf utils: Added sdb_strbuf_cap().

This function returns the "capacity" of the string buffer. It's useful mostly
for testing, debugging, etc.

10 years agostrbuf utils: Fixed resizing in append.
Sebastian Harl [Fri, 16 May 2014 06:48:40 +0000 (08:48 +0200)]
strbuf utils: Fixed resizing in append.

Previously, resizing happened "too early" which may possibly generate
avoidable memory churn.

10 years agostrbuf_test: Added some more tests.
Sebastian Harl [Thu, 15 May 2014 17:25:08 +0000 (19:25 +0200)]
strbuf_test: Added some more tests.

Changed some test to be table-based and verify the result of the incremental
append test.

10 years agostrbuf_test: Cleaned up the code a bit.
Sebastian Harl [Thu, 15 May 2014 07:34:38 +0000 (09:34 +0200)]
strbuf_test: Cleaned up the code a bit.

Made golden_data arrays private to the respective function where possible and
removed "sdb_strbuf" from test names.

10 years agot/: Run all unit tests through valgrind.
Sebastian Harl [Wed, 14 May 2014 19:49:36 +0000 (21:49 +0200)]
t/: Run all unit tests through valgrind.

This is implemented through a wrapper script which will run its arguments
through valgrind if the first parameter matches "unit/". It is passed in to
'make test' using automake's TESTS_ENVIRONMENT variable.

10 years agodbi_test: Don't allocate any memory in dbi_driver_open_r().
Sebastian Harl [Wed, 14 May 2014 19:33:25 +0000 (21:33 +0200)]
dbi_test: Don't allocate any memory in dbi_driver_open_r().

This memory would be lost and appears as irrelevant noise in valgrind memory
checks.

10 years agoconnection_test: Free username strings stored in mock connection objects.
Sebastian Harl [Wed, 14 May 2014 19:31:49 +0000 (21:31 +0200)]
connection_test: Free username strings stored in mock connection objects.

10 years agofrontend: Simplified error handling.
Sebastian Harl [Wed, 14 May 2014 19:14:00 +0000 (21:14 +0200)]
frontend: Simplified error handling.

10 years agofrontend: Execute commands early on large amounts of incoming traffic.
Sebastian Harl [Wed, 14 May 2014 19:03:43 +0000 (21:03 +0200)]
frontend: Execute commands early on large amounts of incoming traffic.

This will free up buffer space if possible.

10 years agofrontend: Handle missing authentication early.
Sebastian Harl [Wed, 14 May 2014 18:55:29 +0000 (20:55 +0200)]
frontend: Handle missing authentication early.

… and limit the max amount of buffered data for unauthenticated connections in
order reduce the impact of anonymous DoS attempts.

10 years agofrontend: Fix invalid command handling when receiving data in chunks.
Sebastian Harl [Wed, 14 May 2014 18:38:17 +0000 (20:38 +0200)]
frontend: Fix invalid command handling when receiving data in chunks.

When skipping over invalid command data, make sure not to skip more data than
what's currently available. Rather, remember how much data needs to be ignored
and do so after actually receiving it.

Added a new test which catches these cases and also provides some more
low-level communication tests.

10 years agofrontend: Treat CONNECTION_IDLE as an invalid command.
Sebastian Harl [Tue, 13 May 2014 21:33:52 +0000 (23:33 +0200)]
frontend: Treat CONNECTION_IDLE as an invalid command.

This is only meant for internal use; don't silently ignore it.

10 years agostrbuf: Free memory when it's not longer needed.
Sebastian Harl [Mon, 12 May 2014 11:29:29 +0000 (13:29 +0200)]
strbuf: Free memory when it's not longer needed.

While this might generate some churn in some situations, care has been taken
to avoid this as much as possible while providing a (hopefully) good balance
between memory usage and the need to reallocate memory.

10 years agoReleaseNotes: Added a summary of the utility functions.
Sebastian Harl [Mon, 12 May 2014 10:49:21 +0000 (12:49 +0200)]
ReleaseNotes: Added a summary of the utility functions.

10 years agoREADME: Extended installation instructions a bit.
Sebastian Harl [Mon, 12 May 2014 10:36:29 +0000 (12:36 +0200)]
README: Extended installation instructions a bit.

10 years agoUnified project description across all documentation.
Sebastian Harl [Mon, 12 May 2014 10:25:56 +0000 (12:25 +0200)]
Unified project description across all documentation.

10 years agoMakefile: Add ReleaseNotes to a dist tarball.
Sebastian Harl [Fri, 9 May 2014 17:48:12 +0000 (19:48 +0200)]
Makefile: Add ReleaseNotes to a dist tarball.

10 years agoMake libsysdb and libsysdbclient private libraries for now.
Sebastian Harl [Fri, 9 May 2014 17:44:37 +0000 (19:44 +0200)]
Make libsysdb and libsysdbclient private libraries for now.

The API is not yet stable enough for that purpose.

10 years agoAdded initial version of the release notes.
Sebastian Harl [Fri, 9 May 2014 17:37:15 +0000 (19:37 +0200)]
Added initial version of the release notes.

10 years agoMakefile: Added missing headers to _HEADERS variables.
Sebastian Harl [Fri, 9 May 2014 14:29:57 +0000 (16:29 +0200)]
Makefile: Added missing headers to _HEADERS variables.

10 years agosysdbd(1): Documented all signals handled by the daemon.
Sebastian Harl [Fri, 9 May 2014 14:25:25 +0000 (16:25 +0200)]
sysdbd(1): Documented all signals handled by the daemon.

10 years agosysdb(7): Added a manpage providing an overview of SysDB.
Sebastian Harl [Tue, 6 May 2014 08:45:03 +0000 (10:45 +0200)]
sysdb(7): Added a manpage providing an overview of SysDB.

10 years agosysdbql(7): Fixed a typo.
Sebastian Harl [Mon, 5 May 2014 15:46:12 +0000 (17:46 +0200)]
sysdbql(7): Fixed a typo.

10 years agosysdb(1): Added sysdbql(7) to "see also".
Sebastian Harl [Mon, 5 May 2014 15:37:23 +0000 (17:37 +0200)]
sysdb(1): Added sysdbql(7) to "see also".

10 years agosysdbql(7): Document the query language.
Sebastian Harl [Mon, 5 May 2014 15:35:20 +0000 (17:35 +0200)]
sysdbql(7): Document the query language.

10 years agodocumentation: Unified author information.
Sebastian Harl [Sun, 4 May 2014 16:13:03 +0000 (18:13 +0200)]
documentation: Unified author information.

10 years agosysdb(1): Be more verbose about the exit status when using the -c option.
Sebastian Harl [Sun, 4 May 2014 16:05:45 +0000 (18:05 +0200)]
sysdb(1): Be more verbose about the exit status when using the -c option.

10 years agocoverage.sh: Refresh build system (and meta information).
Sebastian Harl [Sat, 3 May 2014 21:31:35 +0000 (23:31 +0200)]
coverage.sh: Refresh build system (and meta information).

10 years agointegration/test_lib: Manage the sysdbd PID centrally.
Sebastian Harl [Fri, 2 May 2014 15:36:08 +0000 (17:36 +0200)]
integration/test_lib: Manage the sysdbd PID centrally.

This way, we actually get the right PID outside of the wrapper function and
test_lib can make sure the process is terminated on EXIT.

10 years agosysdb: Fixed incompatible pointer type warning reported by clang.
Sebastian Harl [Fri, 2 May 2014 15:27:40 +0000 (17:27 +0200)]
sysdb: Fixed incompatible pointer type warning reported by clang.

10 years agocibuild.sh: Don't run regular tests when using the address sanitizer.
Sebastian Harl [Fri, 2 May 2014 15:15:57 +0000 (17:15 +0200)]
cibuild.sh: Don't run regular tests when using the address sanitizer.

valgrind does not play well with the address sanitizer. Also, there's no need
to rerun the regular tests on asan generated code (which is a test on its
own).

10 years agointegration tests: Use LD_PRELOAD only when running SysDB tools.
Sebastian Harl [Fri, 2 May 2014 15:13:15 +0000 (17:13 +0200)]
integration tests: Use LD_PRELOAD only when running SysDB tools.

Just as a cleanup.

10 years agotools: Log library versions as well on startup.
Sebastian Harl [Thu, 1 May 2014 21:19:50 +0000 (23:19 +0200)]
tools: Log library versions as well on startup.

10 years agodoc/Makefile: Added all asciidoc files to EXTRA_DIST and clean up all doc.
Sebastian Harl [Thu, 1 May 2014 21:05:03 +0000 (23:05 +0200)]
doc/Makefile: Added all asciidoc files to EXTRA_DIST and clean up all doc.

10 years agointegration/test_lib: Pass -U mockuser to sysdb.
Sebastian Harl [Thu, 1 May 2014 20:55:39 +0000 (22:55 +0200)]
integration/test_lib: Pass -U mockuser to sysdb.

getpwuid_r on Travis leaks some memory which causes the valgrind tests to fail
:-/

10 years agointegration tests: Use LD_PRELOAD instead of chrpath.
Sebastian Harl [Thu, 1 May 2014 19:57:55 +0000 (21:57 +0200)]
integration tests: Use LD_PRELOAD instead of chrpath.

chrpath requires that the new path be shorter or the same length as the
previous path.

10 years agointegration/simple_query: More explicitly document expected exit codes.
Sebastian Harl [Thu, 1 May 2014 14:20:10 +0000 (16:20 +0200)]
integration/simple_query: More explicitly document expected exit codes.

10 years agointegration/simple_query: Added more types of simple queries.
Sebastian Harl [Thu, 1 May 2014 14:15:43 +0000 (16:15 +0200)]
integration/simple_query: Added more types of simple queries.

10 years agosysdb: When handling a reply, base further actions on the response code.
Sebastian Harl [Thu, 1 May 2014 14:02:59 +0000 (16:02 +0200)]
sysdb: When handling a reply, base further actions on the response code.

This will actually enable the command handler to see whether a log message or
a query response was received.

Also, this ensures that the command handler may correctly detect errors during
query execution and exit with a non-zero code accordingly. The simple_query
integration test was updated to reflect this new, corrected behavior. Thanks
to the test for actually catching this misbehavior! :-)

10 years agosysdb: When using -c, wait for the server's final response.
Sebastian Harl [Thu, 1 May 2014 13:56:23 +0000 (15:56 +0200)]
sysdb: When using -c, wait for the server's final response.

There might be some intermediate log messages, which should be printed but
then we need to wait for further replies.

10 years agointegration/simple_query.sh: Test a failing command.
Sebastian Harl [Wed, 30 Apr 2014 21:50:09 +0000 (23:50 +0200)]
integration/simple_query.sh: Test a failing command.

10 years agosysdb: When using -c, exit non-zero if any command failed.
Sebastian Harl [Wed, 30 Apr 2014 21:49:25 +0000 (23:49 +0200)]
sysdb: When using -c, exit non-zero if any command failed.

10 years agointegration/simple_query.sh: Added some more simple queries.
Sebastian Harl [Wed, 30 Apr 2014 21:47:15 +0000 (23:47 +0200)]
integration/simple_query.sh: Added some more simple queries.

10 years agobuild system: Disable integration tests if valgrind or chrpath are missing.
Sebastian Harl [Wed, 30 Apr 2014 21:16:12 +0000 (23:16 +0200)]
build system: Disable integration tests if valgrind or chrpath are missing.

10 years agoREADME: Updated documentation about (integration) tests.
Sebastian Harl [Wed, 30 Apr 2014 21:01:38 +0000 (23:01 +0200)]
README: Updated documentation about (integration) tests.