about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2019-11-24 22:33:51 +0100
committerFlorian Klink <flokli@flokli.de>2019-11-24 22:38:07 +0100
commit02f869ff30a3d0f3a431b49a3e0e0469cf7e50cd (patch)
treebf89dc298b18d2c906eeb939f28f0b80a32bf13b /nixos/tests
parente994b67a7f81498294cd7e8bf462ebec6f19ce24 (diff)
downloadnixlib-02f869ff30a3d0f3a431b49a3e0e0469cf7e50cd.tar
nixlib-02f869ff30a3d0f3a431b49a3e0e0469cf7e50cd.tar.gz
nixlib-02f869ff30a3d0f3a431b49a3e0e0469cf7e50cd.tar.bz2
nixlib-02f869ff30a3d0f3a431b49a3e0e0469cf7e50cd.tar.lz
nixlib-02f869ff30a3d0f3a431b49a3e0e0469cf7e50cd.tar.xz
nixlib-02f869ff30a3d0f3a431b49a3e0e0469cf7e50cd.tar.zst
nixlib-02f869ff30a3d0f3a431b49a3e0e0469cf7e50cd.zip
osquery: remove
osquery was marked as broken since April.

If somebody steps up to fix it, we can always revive it from the
histroy, but there's not much value in shipping completely broken things
in current master.

cc @ma27
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/all-tests.nix1
-rw-r--r--nixos/tests/osquery.nix28
2 files changed, 0 insertions, 29 deletions
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix
index 3d5bc408c445..7945a239f6a0 100644
--- a/nixos/tests/all-tests.nix
+++ b/nixos/tests/all-tests.nix
@@ -206,7 +206,6 @@ in
   openstack-image-metadata = (handleTestOn ["x86_64-linux"] ./openstack-image.nix {}).metadata or {};
   orangefs = handleTest ./orangefs.nix {};
   os-prober = handleTestOn ["x86_64-linux"] ./os-prober.nix {};
-  osquery = handleTest ./osquery.nix {};
   osrm-backend = handleTest ./osrm-backend.nix {};
   overlayfs = handleTest ./overlayfs.nix {};
   packagekit = handleTest ./packagekit.nix {};
diff --git a/nixos/tests/osquery.nix b/nixos/tests/osquery.nix
deleted file mode 100644
index d95871ffafc6..000000000000
--- a/nixos/tests/osquery.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-import ./make-test.nix ({ pkgs, lib, ... }:
-
-with lib;
-
-{
-  name = "osquery";
-  meta = with pkgs.stdenv.lib.maintainers; {
-    maintainers = [ ma27 ];
-  };
-
-  machine = {
-    services.osquery.enable = true;
-    services.osquery.loggerPath = "/var/log/osquery/logs";
-    services.osquery.pidfile = "/run/osqueryd.pid";
-  };
-
-  testScript = ''
-    $machine->start;
-    $machine->waitForUnit("osqueryd.service");
-
-    $machine->succeed("echo 'SELECT address FROM etc_hosts LIMIT 1;' | osqueryi | grep '127.0.0.1'");
-    $machine->succeed(
-      "echo 'SELECT value FROM osquery_flags WHERE name = \"logger_path\";' | osqueryi | grep /var/log/osquery/logs"
-    );
-
-    $machine->succeed("echo 'SELECT value FROM osquery_flags WHERE name = \"pidfile\";' | osqueryi | grep /run/osqueryd.pid");
-  '';
-})