Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #84019 > unrolled thread

Re: Need information where tests can be found for linux-base Debian package

Started byBen Hutchings <benh@debian.org>
First post2024-09-18 16:00 +0200
Last post2024-10-28 21:30 +0100
Articles 2 — 1 participant

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Need information where tests can be found for linux-base Debian  package Ben Hutchings <benh@debian.org> - 2024-09-18 16:00 +0200
    Re: Need information where tests can be found for linux-base Debian  package Ben Hutchings <benh@debian.org> - 2024-10-28 21:30 +0100

#84019 — Re: Need information where tests can be found for linux-base Debian package

FromBen Hutchings <benh@debian.org>
Date2024-09-18 16:00 +0200
SubjectRe: Need information where tests can be found for linux-base Debian package
Message-ID<Jo3nQ-daH7-17@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

On Wed, 2024-09-18 at 06:17 +0000, Sai.Sathujoda@toshiba-tsip.com wrote:
> Hi,
> 
> I work for CIP (Civil Infrastructure Platform) project which is one of the Debian based distribution. We are working for IEC-62443-4-2 assessment.
> The IEC standard has requirement that all packages included in the image should have some tests.
> 
> This page lists your name as maintainers of linux-base package Debian -- Details of package linux-base in bookworm<https://packages.debian.org/bookworm/linux-base>
> 
>  Could you please tell me the location of tests for this package which are executed either as part of CI or manually ?
> Tests in either upstream or Debian are acceptable.
> 
> Thank you in advance.

As this package is mostly useful during installation/upgrade/removal of
kernel packages, I don't think it is needed in your images.

There are some tests in lib/t but they don't cover everything.  They do
get run in CI.

Ben.

-- 
Ben Hutchings - Debian developer, member of kernel, installer and LTS
teams

[toc] | [next] | [standalone]


#84381

FromBen Hutchings <benh@debian.org>
Date2024-10-28 21:30 +0100
Message-ID<JCExb-4Wr9-1@gated-at.bofh.it>
In reply to#84019

[Multipart message — attachments visible in raw view] — view raw

On Mon, 2024-10-28 at 11:04 +0000, Sai.Sathujoda@toshiba-tsip.com
wrote:
> Hello,
> 
> Sorry for the delayed response. Thank you for the information.
> 
> I noticed that tests available in lib/t as part of CI in build job. https://salsa.debian.org/kernel-team/linux-base/-/jobs/5886385#L918.
> 
> Can you please provide your opinion on running these tests as part of autopkgtest since more Debian packages are running tests as part of autopkgtests. This could assist others with similar requirements and ensure a more thorough validation of the package.
[...]

They are unit tests for the Perl library that's part of linux-base, and
are run during every build (unless the "nocheck" build profile is
used).  I don't think running them again through autopkgtests would
improve validation.

If you could contribute autopkgtest test cases for the *commands* in
linux-base, that would actually improve validation of the package and I
would appreciate that.

Ben.

-- 
Ben Hutchings - Debian developer, member of kernel, installer and LTS
teams

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web