klibc: link initrd-network-ssh test

This commit is contained in:
Raphael Robatsch 2022-12-02 10:29:26 +00:00
parent 6ace70150e
commit 0cccb224ee

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, buildPackages, linuxHeaders, perl }: { lib, stdenv, fetchurl, buildPackages, linuxHeaders, perl, nixosTests }:
let let
commonMakeFlags = [ commonMakeFlags = [
@ -43,6 +43,11 @@ stdenv.mkDerivation rec {
done done
''; '';
passthru.tests = {
# uses klibc's ipconfig
inherit (nixosTests) initrd-network-ssh;
};
meta = { meta = {
description = "Minimalistic libc subset for initramfs usage"; description = "Minimalistic libc subset for initramfs usage";
homepage = "https://kernel.org/pub/linux/libs/klibc/"; homepage = "https://kernel.org/pub/linux/libs/klibc/";