nixos/tests/libreswan: use runTest

This commit is contained in:
rnhmjoj 2024-05-09 20:22:57 +02:00
parent 5c9de39aba
commit 818afd9d6d
No known key found for this signature in database
GPG Key ID: BFBAF4C975F76450
2 changed files with 3 additions and 3 deletions

View File

@ -500,7 +500,7 @@ in {
libreddit = handleTest ./libreddit.nix {};
librenms = handleTest ./librenms.nix {};
libresprite = handleTest ./libresprite.nix {};
libreswan = handleTest ./libreswan.nix {};
libreswan = runTest ./libreswan.nix;
librewolf = handleTest ./firefox.nix { firefoxPackage = pkgs.librewolf; };
libuiohook = handleTest ./libuiohook.nix {};
libvirtd = handleTest ./libvirtd.nix {};

View File

@ -3,7 +3,7 @@
# Eve can eavesdrop the plaintext traffic between Alice and Bob, but once they
# enable the secure tunnel Eve's spying becomes ineffective.
import ./make-test-python.nix ({ lib, pkgs, ... }:
{ lib, pkgs, ... }:
let
@ -133,4 +133,4 @@ in
eve.sleep(1)
eve.fail("grep rhubarb /tmp/log")
'';
})
}