mention the os-prober test in pkgs.os-prober.passthru.tests

This commit is contained in:
Symphorien Gibol 2019-06-09 20:26:05 +02:00
parent 5c9634099d
commit 9e06a61cf0
3 changed files with 6 additions and 2 deletions

View file

@ -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 = (handleTestOn ["x86_64-linux"] ./openstack-image.nix {}).userdata 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 {};
osrm-backend = handleTest ./osrm-backend.nix {};
ostree = handleTest ./ostree.nix {};

View file

@ -1,4 +1,4 @@
import ./make-test.nix ({pkgs, lib}:
import ./make-test.nix ({pkgs, lib, ...}:
let
# A filesystem image with a (presumably) bootable debian
debianImage = pkgs.vmTools.diskImageFuns.debian9i386 {

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitLab, makeWrapper,
{ stdenv, fetchFromGitLab, makeWrapper, nixosTests,
# optional dependencies, the command(s) they provide
coreutils, # mktemp
grub2, # grub-mount and grub-probe
@ -59,6 +59,9 @@ stdenv.mkDerivation rec {
done;
'';
passthru.tests = {
os-prober = nixosTests.os-prober;
};
meta = with stdenv.lib; {
description = "Utility to detect other OSs on a set of drives";
homepage = http://packages.debian.org/source/sid/os-prober;