Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: cf994a3d3d14
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: c505e5777143
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Apr 30, 2018

  1. 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.
    Ma27 committed Apr 30, 2018
    Copy the full SHA
    e12cc85 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #39709 from Ma27/osquery-testcase

    nixos/osquery: add test
    xeji committed Apr 30, 2018
    Copy the full SHA
    c505e57 View commit details
    Browse the repository at this point in the history