From 2808286add3e873db6e16e01b7062d3811d61afb Mon Sep 17 00:00:00 2001 From: Jamie McClymont Date: Sun, 1 Aug 2021 21:31:07 +1200 Subject: [PATCH] squashfsTools: add NixOS cdrom boot as passthru test 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 #132286. --- pkgs/tools/filesystems/squashfs/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/filesystems/squashfs/default.nix b/pkgs/tools/filesystems/squashfs/default.nix index bec34463151..ee6a9d9a4c3 100644 --- a/pkgs/tools/filesystems/squashfs/default.nix +++ b/pkgs/tools/filesystems/squashfs/default.nix @@ -7,6 +7,7 @@ , lz4 , lzo , zstd +, nixosTests }: stdenv.mkDerivation rec { @@ -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";