wrapper-manager-fds/tests: init utils subset

This commit is contained in:
Gabriel Arazas 2024-07-09 15:44:57 +08:00
parent a04da2a0ec
commit 62520e543e
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
2 changed files with 26 additions and 0 deletions

View File

@ -9,4 +9,5 @@ let
in in
{ {
env = callLib ./env; env = callLib ./env;
utils = callLib ./utils.nix;
} }

View File

@ -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"
];
};
}