diff options
author | Evils <evils.devils@protonmail.com> | 2021-02-02 01:39:50 +0100 |
---|---|---|
committer | tomberek <tomberek@users.noreply.github.com> | 2021-10-30 22:22:12 -0400 |
commit | 788920fcdf8fff2fb3eb0a70d00822a45ecd454f (patch) | |
tree | e9e56ee515f5c52929074058b2dca56a7fe34f85 /pkgs/os-specific/linux/rasdaemon | |
parent | e14378789c9d8fe571980af14cbdcd31cdca06b6 (diff) | |
download | nixpkgs-788920fcdf8fff2fb3eb0a70d00822a45ecd454f.tar nixpkgs-788920fcdf8fff2fb3eb0a70d00822a45ecd454f.tar.gz nixpkgs-788920fcdf8fff2fb3eb0a70d00822a45ecd454f.tar.bz2 nixpkgs-788920fcdf8fff2fb3eb0a70d00822a45ecd454f.tar.lz nixpkgs-788920fcdf8fff2fb3eb0a70d00822a45ecd454f.tar.xz nixpkgs-788920fcdf8fff2fb3eb0a70d00822a45ecd454f.tar.zst nixpkgs-788920fcdf8fff2fb3eb0a70d00822a45ecd454f.zip |
nixosTests.rasdaemon: init module test
and passthru test in the package
Diffstat (limited to 'pkgs/os-specific/linux/rasdaemon')
-rw-r--r-- | pkgs/os-specific/linux/rasdaemon/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/rasdaemon/default.nix b/pkgs/os-specific/linux/rasdaemon/default.nix index cb6522d10a3..22ca59bff53 100644 --- a/pkgs/os-specific/linux/rasdaemon/default.nix +++ b/pkgs/os-specific/linux/rasdaemon/default.nix @@ -2,6 +2,7 @@ , autoreconfHook , glibcLocales, kmod, coreutils, perl , dmidecode, hwdata, sqlite +, nixosTests }: stdenv.mkDerivation rec { @@ -88,6 +89,8 @@ stdenv.mkDerivation rec { --replace 'find_prog ("dmidecode")' '"${dmidecode}/bin/dmidecode"' ''; + passthru.tests = nixosTests.rasdaemon; + meta = with lib; { description = '' A Reliability, Availability and Serviceability (RAS) logging tool using EDAC kernel tracing events |