2024-07-09 07:44:57 +00:00
|
|
|
{ pkgs, lib, self }:
|
|
|
|
|
|
|
|
lib.runTests {
|
|
|
|
testsUtilsGetBin = {
|
|
|
|
expr = self.utils.getBin [
|
2024-07-13 09:00:06 +00:00
|
|
|
../../lib
|
2024-07-09 07:44:57 +00:00
|
|
|
../../modules
|
|
|
|
];
|
|
|
|
expected = [
|
2024-07-13 09:00:06 +00:00
|
|
|
(lib.getBin ../../lib)
|
2024-07-09 07:44:57 +00:00
|
|
|
(lib.getBin ../../modules)
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
testsUtilsGetLibexec = {
|
|
|
|
expr = self.utils.getLibexec [
|
2024-07-13 09:00:06 +00:00
|
|
|
../../lib
|
2024-07-09 07:44:57 +00:00
|
|
|
../../modules
|
|
|
|
];
|
|
|
|
expected = [
|
2024-07-13 09:00:06 +00:00
|
|
|
"${../../lib}/libexec"
|
2024-07-09 07:44:57 +00:00
|
|
|
"${../../modules}/libexec"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|