Merge pull request #191490 (ZFS test eval fix)

This makes sure that we don't try to evaluate the tests with an
incompatible kernel version. The original reviewer didn't react within
10 days, but since they got notified and all this commit is doing is to
fix evaluation, I consider it safe to merge.

Cc: @adisbladis
This commit is contained in:
aszlig 2022-09-26 17:27:16 +02:00
commit 9a4b82d2af
No known key found for this signature in database
GPG key ID: 684089CE67EBB691

View file

@ -8,7 +8,9 @@ with import ../lib/testing-python.nix { inherit system pkgs; };
let
makeZfsTest = name:
{ kernelPackage ? if enableUnstable then pkgs.linuxPackages_latest else pkgs.linuxPackages
{ kernelPackage ? if enableUnstable
then pkgs.zfsUnstable.latestCompatibleLinuxPackages
else pkgs.linuxPackages
, enableUnstable ? false
, extraTest ? ""
}: