mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
Merge staging-next into staging
This commit is contained in:
commit
1aadb5d97e
51 changed files with 501 additions and 212 deletions
|
@ -717,6 +717,7 @@ in {
|
|||
qgis-ltr = handleTest ./qgis.nix { qgisPackage = pkgs.qgis-ltr; };
|
||||
qownnotes = handleTest ./qownnotes.nix {};
|
||||
quake3 = handleTest ./quake3.nix {};
|
||||
quicktun = handleTest ./quicktun.nix {};
|
||||
quorum = handleTest ./quorum.nix {};
|
||||
rabbitmq = handleTest ./rabbitmq.nix {};
|
||||
radarr = handleTest ./radarr.nix {};
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
{ recurseIntoAttrs, runTest }:
|
||||
recurseIntoAttrs {
|
||||
kubo = runTest ./kubo.nix;
|
||||
kubo-fuse = runTest ./kubo-fuse.nix;
|
||||
# The FUSE functionality is completely broken since Kubo v0.24.0
|
||||
# See https://github.com/ipfs/kubo/issues/10242
|
||||
# kubo-fuse = runTest ./kubo-fuse.nix;
|
||||
}
|
||||
|
|
|
@ -46,6 +46,13 @@
|
|||
f"ipfs --api /unix/run/ipfs.sock cat /ipfs/{ipfs_hash.strip()} | grep fnord2"
|
||||
)
|
||||
|
||||
machine.stop_job("ipfs")
|
||||
|
||||
with subtest("Socket activation for the Gateway"):
|
||||
machine.succeed(
|
||||
f"curl 'http://127.0.0.1:8080/ipfs/{ipfs_hash.strip()}' | grep fnord2"
|
||||
)
|
||||
|
||||
with subtest("Setting dataDir works properly with the hardened systemd unit"):
|
||||
machine.succeed("test -e /mnt/ipfs/config")
|
||||
machine.succeed("test ! -e /var/lib/ipfs/")
|
||||
|
|
18
nixos/tests/quicktun.nix
Normal file
18
nixos/tests/quicktun.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
import ./make-test-python.nix ({ pkgs, lib, ... }:
|
||||
{
|
||||
name = "quicktun";
|
||||
meta.maintainers = with lib.maintainers; [ h7x4 ];
|
||||
|
||||
nodes = {
|
||||
machine = { ... }: {
|
||||
services.quicktun."test-tunnel" = {
|
||||
protocol = "raw";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
start_all()
|
||||
machine.wait_for_unit("quicktun-test-tunnel.service")
|
||||
'';
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue