diff options
author | Robert Hensing <robert@roberthensing.nl> | 2022-05-09 14:18:40 +0200 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2022-05-09 14:21:56 +0200 |
commit | 93abb7bef7a73f0c5fa0453d60c024ca7464f1c5 (patch) | |
tree | 57693c87cfff322ca35117d00a90ebe1a8333058 /pkgs/test/nixos-functions/default.nix | |
parent | ae172a2bb4c94da68fb0adfd77d5aacd71c8b930 (diff) | |
download | nixpkgs-93abb7bef7a73f0c5fa0453d60c024ca7464f1c5.tar nixpkgs-93abb7bef7a73f0c5fa0453d60c024ca7464f1c5.tar.gz nixpkgs-93abb7bef7a73f0c5fa0453d60c024ca7464f1c5.tar.bz2 nixpkgs-93abb7bef7a73f0c5fa0453d60c024ca7464f1c5.tar.lz nixpkgs-93abb7bef7a73f0c5fa0453d60c024ca7464f1c5.tar.xz nixpkgs-93abb7bef7a73f0c5fa0453d60c024ca7464f1c5.tar.zst nixpkgs-93abb7bef7a73f0c5fa0453d60c024ca7464f1c5.zip |
tests.testers.nixosTest-example: move from tests.nixos-functions.nixosTest-test
And improve the test a bit, to assert correct wiring of `pkgs`.
Diffstat (limited to 'pkgs/test/nixos-functions/default.nix')
-rw-r--r-- | pkgs/test/nixos-functions/default.nix | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/pkgs/test/nixos-functions/default.nix b/pkgs/test/nixos-functions/default.nix index 6f83858d01a..1e4b8d905e5 100644 --- a/pkgs/test/nixos-functions/default.nix +++ b/pkgs/test/nixos-functions/default.nix @@ -26,16 +26,5 @@ in lib.optionalAttrs stdenv.hostPlatform.isLinux ( fileSystems."/".device = "/dev/null"; }).toplevel; - nixosTest-test = pkgs.testers.nixosTest ({ lib, pkgs, figlet, ... }: { - name = "nixosTest-test"; - nodes.machine = { pkgs, ... }: { - system.nixos = dummyVersioning; - environment.systemPackages = [ pkgs.hello figlet ]; - }; - testScript = '' - machine.succeed("hello | figlet >/dev/console") - ''; - }); - } ) |