linux: Fix kernel-testing test

This commit is contained in:
Tim Steinbach 2019-04-01 10:04:54 -04:00
parent 2fc28603b8
commit 03389563a2
No known key found for this signature in database
GPG Key ID: 6C654787275A64F1

View File

@ -1,5 +1,5 @@
import ./make-test.nix ({ pkgs, ...} : { import ./make-test.nix ({ pkgs, ...} : {
name = "kernel-latest"; name = "kernel-testing";
meta = with pkgs.stdenv.lib.maintainers; { meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ nequissimus ]; maintainers = [ nequissimus ];
}; };
@ -12,6 +12,6 @@ import ./make-test.nix ({ pkgs, ...} : {
testScript = testScript =
'' ''
$machine->succeed("uname -s | grep 'Linux'"); $machine->succeed("uname -s | grep 'Linux'");
$machine->succeed("uname -a | grep '${pkgs.linuxPackages_testing.kernel.version}'"); $machine->succeed("uname -a | grep '${pkgs.linuxPackages_testing.kernel.modDirVersion}'");
''; '';
}) })