Skip to content

Commit

Permalink
squashfsTools: add NixOS cdrom boot as passthru test
Browse files Browse the repository at this point in the history
This is the same test which blocks nixos-unstable-small. It recently
caused a long blockage, due to a regression in squashfsTools itself
corrupting the iso image, see NixOS#132286.
  • Loading branch information
JJJollyjim committed Aug 1, 2021
1 parent bc3416a commit 2808286
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/tools/filesystems/squashfs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
, lz4
, lzo
, zstd
, nixosTests
}:

stdenv.mkDerivation rec {
Expand Down Expand Up @@ -47,6 +48,10 @@ stdenv.mkDerivation rec {
"LZO_SUPPORT=1"
];

passthru.tests = {
nixos-iso-boots-and-verifies = nixosTests.boot.biosCdrom;
};

meta = with lib; {
homepage = "https://github.com/plougher/squashfs-tools";
description = "Tool for creating and unpacking squashfs filesystems";
Expand Down

0 comments on commit 2808286

Please sign in to comment.