10f8f08267
* Fix varmod-localtime test by setting TZ to an absolute path to the appropriate file in TZDIR. This avoids having an extra patch for musl which doesn't support TZDIR at all. * Move tests into checkPhase by applying patch from alpine * Fix build with musl by disabling deptgt-delete_on_error test (which I haven't debugged myself, just copied this from alpine) and fixing a test which fails due to differing output from strerror(3) between musl and glibc. Also we need to add a shebang to install-sh, otherwise it won't be executed in pkgsMusl.
14 lines
474 B
Diff
14 lines
474 B
Diff
--- bmake/unit-tests/unexport-env.mk.orig 2021-05-27 14:44:45.263392298 +0200
|
|
+++ bmake/unit-tests/unexport-env.mk 2021-05-27 14:46:46.188881996 +0200
|
|
@@ -4,8 +4,8 @@
|
|
FILTER_CMD= grep ^UT_
|
|
.include "export.mk"
|
|
|
|
-# an example of setting up a minimal environment.
|
|
-PATH= /bin:/usr/bin:/sbin:/usr/sbin
|
|
+# preserve PATH so commands used in the "all" target are still available
|
|
+PATH := ${PATH}
|
|
|
|
# now clobber the environment to just PATH and UT_TEST
|
|
UT_TEST= unexport-env
|