nixpkgs/nixos
Maximilian Bosch e12cc85b07
nixos/osquery: add test
Some time ago I fixed the broken package `osquery` (see #39336).
I had to test the package manually by starting the daemon locally,
however this doesn't ensure that the module is still functional.

In order to cover the package *and* the integration with the NixOS
module I thought that adding a testcase might be the best idea.

The current testcase does the following things:

* Starts an `osqueryd` service in a test machine with customized logger
  path and PID file

* Ensures that the `osqueryd.service` unit is running

* Checks if the customized flags (`pidfile`, `logger_path`) are applied
  to `osquery`.

* Performs a simple test query against the `etc_hosts` database to check
  if the basic funcitonality of `osquery` (storing system information into
  a database) works fine.
2018-04-30 16:49:38 +02:00
..
doc/manual Merge pull request #39416 from Ma27/fix-.version-config 2018-04-30 08:33:19 +00:00
lib nixos/tests: Fix QEMU flags for SCSI disks 2018-04-30 03:02:59 +02:00
maintainers treewide: rename version attributes 2018-04-28 14:23:53 +02:00
modules Merge pull request #39416 from Ma27/fix-.version-config 2018-04-30 08:33:19 +00:00
tests nixos/osquery: add test 2018-04-30 16:49:38 +02:00
COPYING
default.nix nixos: export packages of the current configuration (its pkgs argument) 2018-02-09 19:35:27 +00:00
README
release-combined.nix Revert "release-combined: don't include tests.chromium" 2018-04-27 02:42:12 +02:00
release-small.nix Add the boot test to release-small.nix 2018-02-27 20:09:07 +01:00
release.nix nixos/osquery: add test 2018-04-30 16:49:38 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.