aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2023-01-20 14:43:26 +0100
committerRobert Hensing <robert@roberthensing.nl>2023-01-20 15:33:13 +0100
commit74026bb1014460d511534da8a955bee6948716ee (patch)
tree58ba395382ff15574dbd6c9489128cfe9f2d25c0
parent04de0dd0b4059c75115c780dae8ddc49a847b0e5 (diff)
tests: Move NixOS tests to tests/nixos
This will allow contributors to find them more easily.
-rw-r--r--flake.nix14
-rw-r--r--tests/nixos/containers/containers.nix (renamed from tests/containers.nix)0
-rw-r--r--tests/nixos/containers/id-test.nix (renamed from tests/id-test.nix)0
-rw-r--r--tests/nixos/containers/systemd-nspawn.nix (renamed from tests/systemd-nspawn.nix)0
-rw-r--r--tests/nixos/github-flakes.nix (renamed from tests/github-flakes.nix)0
-rw-r--r--tests/nixos/nix-copy-closure.nix (renamed from tests/nix-copy-closure.nix)0
-rw-r--r--tests/nixos/nss-preload.nix (renamed from tests/nss-preload.nix)0
-rw-r--r--tests/nixos/remote-builds.nix (renamed from tests/remote-builds.nix)0
-rw-r--r--tests/nixos/setuid.nix (renamed from tests/setuid.nix)0
-rw-r--r--tests/nixos/sourcehut-flakes.nix (renamed from tests/sourcehut-flakes.nix)0
10 files changed, 7 insertions, 7 deletions
diff --git a/flake.nix b/flake.nix
index 573373c42..0dc8c4c2e 100644
--- a/flake.nix
+++ b/flake.nix
@@ -475,37 +475,37 @@
};
# System tests.
- tests.remoteBuilds = import ./tests/remote-builds.nix {
+ tests.remoteBuilds = import ./tests/nixos/remote-builds.nix {
system = "x86_64-linux";
inherit nixpkgs;
overlay = self.overlays.default;
};
- tests.nix-copy-closure = import ./tests/nix-copy-closure.nix {
+ tests.nix-copy-closure = import ./tests/nixos/nix-copy-closure.nix {
system = "x86_64-linux";
inherit nixpkgs;
overlay = self.overlays.default;
};
- tests.nssPreload = (import ./tests/nss-preload.nix rec {
+ tests.nssPreload = (import ./tests/nixos/nss-preload.nix rec {
system = "x86_64-linux";
inherit nixpkgs;
overlay = self.overlays.default;
});
- tests.githubFlakes = (import ./tests/github-flakes.nix rec {
+ tests.githubFlakes = (import ./tests/nixos/github-flakes.nix rec {
system = "x86_64-linux";
inherit nixpkgs;
overlay = self.overlays.default;
});
- tests.sourcehutFlakes = (import ./tests/sourcehut-flakes.nix rec {
+ tests.sourcehutFlakes = (import ./tests/nixos/sourcehut-flakes.nix rec {
system = "x86_64-linux";
inherit nixpkgs;
overlay = self.overlays.default;
});
- tests.containers = (import ./tests/containers.nix rec {
+ tests.containers = (import ./tests/nixos/containers/containers.nix rec {
system = "x86_64-linux";
inherit nixpkgs;
overlay = self.overlays.default;
@@ -514,7 +514,7 @@
tests.setuid = nixpkgs.lib.genAttrs
["i686-linux" "x86_64-linux"]
(system:
- import ./tests/setuid.nix rec {
+ import ./tests/nixos/setuid.nix rec {
inherit nixpkgs system;
overlay = self.overlays.default;
});
diff --git a/tests/containers.nix b/tests/nixos/containers/containers.nix
index a4856b2df..a4856b2df 100644
--- a/tests/containers.nix
+++ b/tests/nixos/containers/containers.nix
diff --git a/tests/id-test.nix b/tests/nixos/containers/id-test.nix
index 8eb9d38f9..8eb9d38f9 100644
--- a/tests/id-test.nix
+++ b/tests/nixos/containers/id-test.nix
diff --git a/tests/systemd-nspawn.nix b/tests/nixos/containers/systemd-nspawn.nix
index 424436b3f..424436b3f 100644
--- a/tests/systemd-nspawn.nix
+++ b/tests/nixos/containers/systemd-nspawn.nix
diff --git a/tests/github-flakes.nix b/tests/nixos/github-flakes.nix
index a8b036b17..a8b036b17 100644
--- a/tests/github-flakes.nix
+++ b/tests/nixos/github-flakes.nix
diff --git a/tests/nix-copy-closure.nix b/tests/nixos/nix-copy-closure.nix
index 2dc164ae4..2dc164ae4 100644
--- a/tests/nix-copy-closure.nix
+++ b/tests/nixos/nix-copy-closure.nix
diff --git a/tests/nss-preload.nix b/tests/nixos/nss-preload.nix
index 5a6ff3f68..5a6ff3f68 100644
--- a/tests/nss-preload.nix
+++ b/tests/nixos/nss-preload.nix
diff --git a/tests/remote-builds.nix b/tests/nixos/remote-builds.nix
index 9f88217fe..9f88217fe 100644
--- a/tests/remote-builds.nix
+++ b/tests/nixos/remote-builds.nix
diff --git a/tests/setuid.nix b/tests/nixos/setuid.nix
index 6784615e4..6784615e4 100644
--- a/tests/setuid.nix
+++ b/tests/nixos/setuid.nix
diff --git a/tests/sourcehut-flakes.nix b/tests/nixos/sourcehut-flakes.nix
index b77496ab6..b77496ab6 100644
--- a/tests/sourcehut-flakes.nix
+++ b/tests/nixos/sourcehut-flakes.nix