diff --git a/subprojects/wrapper-manager-fds/tests/lib/default.nix b/subprojects/wrapper-manager-fds/tests/lib/default.nix index e775297c..1079b294 100644 --- a/subprojects/wrapper-manager-fds/tests/lib/default.nix +++ b/subprojects/wrapper-manager-fds/tests/lib/default.nix @@ -9,4 +9,5 @@ let in { env = callLib ./env; + utils = callLib ./utils.nix; } diff --git a/subprojects/wrapper-manager-fds/tests/lib/utils.nix b/subprojects/wrapper-manager-fds/tests/lib/utils.nix new file mode 100644 index 00000000..8f784940 --- /dev/null +++ b/subprojects/wrapper-manager-fds/tests/lib/utils.nix @@ -0,0 +1,25 @@ +{ pkgs, lib, self }: + +lib.runTests { + testsUtilsGetBin = { + expr = self.utils.getBin [ + ../modules + ../../modules + ]; + expected = [ + (lib.getBin ../modules) + (lib.getBin ../../modules) + ]; + }; + + testsUtilsGetLibexec = { + expr = self.utils.getLibexec [ + ../modules + ../../modules + ]; + expected = [ + "${../modules}/libexec" + "${../../modules}/libexec" + ]; + }; +}