mention the os-prober test in pkgs.os-prober.passthru.tests
This commit is contained in:
parent
5c9634099d
commit
9e06a61cf0
|
@ -183,6 +183,7 @@ in
|
||||||
# openstack-image-userdata doesn't work in a sandbox as the simulated openstack instance needs network access
|
# openstack-image-userdata doesn't work in a sandbox as the simulated openstack instance needs network access
|
||||||
#openstack-image-userdata = (handleTestOn ["x86_64-linux"] ./openstack-image.nix {}).userdata or {};
|
#openstack-image-userdata = (handleTestOn ["x86_64-linux"] ./openstack-image.nix {}).userdata or {};
|
||||||
openstack-image-metadata = (handleTestOn ["x86_64-linux"] ./openstack-image.nix {}).metadata or {};
|
openstack-image-metadata = (handleTestOn ["x86_64-linux"] ./openstack-image.nix {}).metadata or {};
|
||||||
|
os-prober = handleTestOn ["x86_64-linux"] ./os-prober.nix {};
|
||||||
osquery = handleTest ./osquery.nix {};
|
osquery = handleTest ./osquery.nix {};
|
||||||
osrm-backend = handleTest ./osrm-backend.nix {};
|
osrm-backend = handleTest ./osrm-backend.nix {};
|
||||||
ostree = handleTest ./ostree.nix {};
|
ostree = handleTest ./ostree.nix {};
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import ./make-test.nix ({pkgs, lib}:
|
import ./make-test.nix ({pkgs, lib, ...}:
|
||||||
let
|
let
|
||||||
# A filesystem image with a (presumably) bootable debian
|
# A filesystem image with a (presumably) bootable debian
|
||||||
debianImage = pkgs.vmTools.diskImageFuns.debian9i386 {
|
debianImage = pkgs.vmTools.diskImageFuns.debian9i386 {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitLab, makeWrapper,
|
{ stdenv, fetchFromGitLab, makeWrapper, nixosTests,
|
||||||
# optional dependencies, the command(s) they provide
|
# optional dependencies, the command(s) they provide
|
||||||
coreutils, # mktemp
|
coreutils, # mktemp
|
||||||
grub2, # grub-mount and grub-probe
|
grub2, # grub-mount and grub-probe
|
||||||
|
@ -59,6 +59,9 @@ stdenv.mkDerivation rec {
|
||||||
done;
|
done;
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
os-prober = nixosTests.os-prober;
|
||||||
|
};
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Utility to detect other OSs on a set of drives";
|
description = "Utility to detect other OSs on a set of drives";
|
||||||
homepage = http://packages.debian.org/source/sid/os-prober;
|
homepage = http://packages.debian.org/source/sid/os-prober;
|
||||||
|
|
Loading…
Reference in a new issue