Age | Commit message (Expand) | Author |
2018-08-27 | Update email for Pierre Neidhardt.... | Pierre Neidhardt |
2018-07-16 | mailmap: Add a line for Pierre-Antoine.... | Ludovic Courtès |
2018-07-16 | mailmap: Add another line for myself.... | Nils Gillmann |
2018-03-20 | Correct name and Email for ng0.... | ng0 |
2018-02-11 | mailmap: Adjust entries for ng0.... | ng0 |
2017-11-26 | Update e-mail for ng0.... | ng0 |
2017-10-03 | Update e-mail for Theodoros Foradis.... | Theodoros Foradis |
2017-08-29 | Update e-mail for Kei Kebreau.... | Kei Kebreau |
2017-08-13 | mailmap: fix entries for ng0.... | ng0 |
2017-06-16 | mailmap: Adjust entries for ng0.... | ng0 |
2017-06-03 | .mailmap: Add another alias for ng0.... | ng0 |
2017-05-23 | mailmap: Update entries for Adriano Peluso... | Adriano Peluso |
2017-05-22 | mailmap: Add an entry for Mathieu Othacehe.... | Mathieu Othacehe |
2017-04-20 | mailmap: Update entries for ng0.... | ng0 |
2017-01-27 | Update .mailmap entries for ng0.... | ng0 |
2017-01-01 | Update .mailmap.... | Alex Kost |
2016-12-20 | mailmap: Add alias for Marius Bakke.... | Marius Bakke |
2016-11-26 | mailmap: Associate all commits by ng0 with ng0.... | ng0 |
2016-10-11 | Update e-mail address for ng0.... | ng0 |
2016-10-05 | Update e-mail address for ng0.... | ng0 |
ort mount errors in the child process.Ludovic Courtès |
|
Fixes <http://bugs.gnu.org/23306>.
* gnu/build/linux-container.scm (run-container): Use 'socketpair'
instead of 'pipe'. Rename 'in' to 'child' and 'out' to 'parent'. Send
a 'ready message or an exception argument list from the child to the
parent; adjust the parent accordingly.
* tests/containers.scm ("call-with-container, mnt namespace, wrong bind
mount"): New test.
* tests/guix-environment-container.sh: Add test with
--expose=/does-not-exist.
|
|
Before that '.log' files for scheme tests were fragmented and not
included in test-suite.log. This unifies the semantics of SRFI-64 API
with Automake test suite.
* build-aux/test-driver.scm: New file.
* Makefile.am (SCM_LOG_DRIVER, AM_SCM_LOG_DRIVER_FLAGS): New variables.
(SCM_LOG_COMPILER, AM_SCM_LOG_FLAGS): Delete variables.
(AM_TESTS_ENVIRONMENT): Set GUILE_AUTO_COMPILE to 0.
* test-env.in: Silence guix-daemon.
* doc/guix.texi (Running the Test Suite): Describe how to display the
detailed results. Bug reports require only 'test-suite.log' file.
* tests/base32.scm, tests/build-utils.scm, tests/builders.scm,
tests/challenge.scm, tests/cpan.scm, tests/cpio.scm, tests/cran.scm,
tests/cve.scm, tests/derivations.scm, tests/elpa.scm,
tests/file-systems.scm, tests/gem.scm, tests/gexp.scm,
tests/gnu-maintenance.scm, tests/grafts.scm, tests/graph.scm,
tests/gremlin.scm, tests/hackage.scm, tests/hash.scm,
tests/import-utils.scm, tests/lint.scm, tests/monads.scm, tests/nar.scm,
tests/packages.scm, tests/pk-crypto.scm, tests/pki.scm,
tests/profiles.scm, tests/publish.scm, tests/pypi.scm,
tests/records.scm, tests/scripts-build.scm, tests/scripts.scm,
tests/services.scm, tests/sets.scm, tests/size.scm, tests/snix.scm,
tests/store.scm, tests/substitute.scm, tests/syscalls.scm,
tests/system.scm, tests/ui.scm, tests/union.scm, tests/upstream.scm,
tests/utils.scm: Don't exit at the end of test groups.
* tests/containers.scm: Likewise. Use 'test-skip' instead of exiting
with error code 77.
|
|
* gnu/build/linux-container.scm (user-namespace-supported?,
unprivileged-user-namespace-supported?, setgroups-supported?): New
procedures.
* tests/container.scm: Use predicates.
* tests/syscalls.scm: Likewise.
|
|
Before, call-with-clean-exit would *always* return an exit code of 1.
* gnu/build/linux-container.scm (call-with-clean-exit): Exit with status
code of 0 if thunk does not throw an exception.
* tests/containers.scm: Add test.
|
|
Fixes bug #21226.
Linux 3.19 introduced a fix for a security vulnerability in user namespaces.
This fix introduced a new proc file called 'setgroups' and was backported to
many older kernels. However, some users run a kernel that is new enough to
support user namespaces yet old enough to not include the patch, so we must
skip the tests.
* tests/containers.scm: Skip all tests if /proc/self/setgroups does not exist.
|
|
It's not always possible to map 65536 uids when creating a container as the
root user within another user namespace. This is true when building Guix
within the build daemon's container. By using a uid range of 1 by default,
even as the root user, the tests now pass.
* gnu/build/linux-container.scm (initialize-user-namespace, run-container):
Add 'host-uids' argument.
(call-with-container): Add #:host-uids keyword argument.
* tests/containers.scm ("container-excursion"): Update 'run-container' call.
|
|
* tests/containers.scm: Skip all tests if user namespaces do not exist.
|