Merge pull request #118442 from Ekleog/nixos-tests
Add nixos tests with names starting by A or B to all relevant packages
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{ buildGoPackage
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -17,6 +18,10 @@ in buildGoPackage {
|
||||
sha256 = "1piwzzfqsdx6s2niczzp4mf4r3qn9nfdgpn7882g52cmmm0vzks2";
|
||||
};
|
||||
|
||||
passthru.tests = {
|
||||
smoke-test = nixosTests.acme;
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/letsencrypt/pebble";
|
||||
description = "A miniature version of Boulder, Pebble is a small RFC 8555 ACME test server not suited for a production CA";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ lib, stdenv, fetchFromGitHub, pkg-config, attr, libuuid, libscrypt, libsodium, keyutils
|
||||
, liburcu, zlib, libaio, udev, zstd, lz4, valgrind, python3Packages
|
||||
, liburcu, zlib, libaio, udev, zstd, lz4, valgrind, python3Packages, nixosTests
|
||||
, fuseSupport ? false, fuse3 ? null }:
|
||||
|
||||
assert fuseSupport -> fuse3 != null;
|
||||
@@ -39,6 +39,10 @@ stdenv.mkDerivation {
|
||||
|
||||
installFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||
|
||||
passthru.tests = {
|
||||
smoke-test = nixosTests.bcachefs;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool for managing bcachefs filesystems";
|
||||
homepage = "https://bcachefs.org/";
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{ lib, stdenv, runCommand, fetchFromGitHub, bash, btrfs-progs, coreutils, python3Packages, util-linux }:
|
||||
{ lib, stdenv, runCommand, fetchFromGitHub, bash, btrfs-progs, coreutils
|
||||
, python3Packages, util-linux, nixosTests }:
|
||||
|
||||
let
|
||||
|
||||
@@ -55,7 +56,7 @@ let
|
||||
|
||||
in
|
||||
|
||||
runCommand "bees-service" {
|
||||
(runCommand "bees-service" {
|
||||
inherit bash bees coreutils;
|
||||
utillinux = util-linux; # needs to be a valid shell variable name
|
||||
btrfsProgs = btrfs-progs; # needs to be a valid shell variable name
|
||||
@@ -64,4 +65,8 @@ runCommand "bees-service" {
|
||||
substituteAll ${./bees-service-wrapper} "$out"/bin/bees-service-wrapper
|
||||
chmod +x "$out"/bin/bees-service-wrapper
|
||||
ln -s ${bees}/bin/beesd "$out"/bin/beesd
|
||||
''
|
||||
'').overrideAttrs (old: {
|
||||
passthru.tests = {
|
||||
smoke-test = nixosTests.bees;
|
||||
};
|
||||
})
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{ stdenv, lib, fetchurl, iptables, libuuid, pkg-config
|
||||
, which, iproute2, gnused, coreutils, gawk, makeWrapper
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -30,6 +31,10 @@ stdenv.mkDerivation rec {
|
||||
done
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
bittorrent-integration = nixosTests.bittorrent;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://miniupnp.free.fr/";
|
||||
description = "A daemon that implements the UPnP Internet Gateway Device (IGD) specification";
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
, withKerberos ? true
|
||||
, libkrb5
|
||||
, libfido2
|
||||
, nixosTests
|
||||
, withFIDO ? stdenv.hostPlatform.isUnix && !stdenv.hostPlatform.isMusl
|
||||
, linkOpenssl ? true
|
||||
}:
|
||||
@@ -111,6 +112,10 @@ stdenv.mkDerivation rec {
|
||||
"sysconfdir=\${out}/etc/ssh"
|
||||
];
|
||||
|
||||
passthru.tests = {
|
||||
borgbackup-integration = nixosTests.borgbackup;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "An implementation of the SSH protocol${extraDesc}";
|
||||
homepage = "https://www.openssh.com/";
|
||||
|
||||
Reference in New Issue
Block a user