linux-copperhead: Fix test
This commit is contained in:
parent
5c8c4710ba
commit
9774c8a0de
@ -6,14 +6,14 @@ import ./make-test.nix ({ pkgs, ...} : {
|
||||
|
||||
machine = { config, lib, pkgs, ... }:
|
||||
{
|
||||
boot.kernelPackages = pkgs.linuxPackages_copperhead_hardened;
|
||||
boot.kernelPackages = pkgs.linuxPackages_copperhead_lts;
|
||||
};
|
||||
|
||||
testScript =
|
||||
''
|
||||
$machine->succeed("uname -a");
|
||||
$machine->succeed("uname -s | grep 'Linux'");
|
||||
$machine->succeed("uname -a | grep '${pkgs.linuxPackages_copperhead_hardened.kernel.modDirVersion}'");
|
||||
$machine->succeed("uname -a | grep '${pkgs.linuxPackages_copperhead_lts.kernel.modDirVersion}'");
|
||||
$machine->succeed("uname -a | grep 'hardened'");
|
||||
'';
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user