guix/tests
Ludovic Courtès 6456232164
pack: Add relocation via ld.so and fakechroot.
* gnu/packages/aux-files/run-in-namespace.c (HAVE_EXEC_WITH_LOADER): New
macro.
(bind_mount): Rename to...
(mirror_directory): ... this.  Add 'firmlink' argument and use it
instead of calling mkdir/open/close/mount directly.
(bind_mount, make_symlink): New functions.
(exec_in_user_namespace): Adjust accordingly.
(exec_with_loader) [HAVE_EXEC_WITH_LOADER]: New function.
(exec_performance): New function.
(engines): Add them.
* guix/scripts/pack.scm (wrapped-package)[fakechroot-library]
[audit-module]: New procedures.
[audit-source]: New variable.
[build](elf-interpreter, elf-loader-compile-flags): New procedures.
(build-wrapper): Use them.
* tests/guix-pack-relocatable.sh: Test with
'GUIX_EXECUTION_ENGINE=fakechroot'.
* doc/guix.texi (Invoking guix pack): Document the 'performance' and
'fakechroot' engines.
* gnu/packages/aux-files/pack-audit.c: New file.
* Makefile.am (AUX_FILES): Add it.
2020-05-14 17:21:27 +02:00
..
services gnu: Add earlyoom-service-type. 2020-01-31 23:37:13 -05:00
accounts.scm accounts: Delete duplicate entries. 2019-08-28 00:27:14 +02:00
base16.scm
base32.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
base64.scm
bournish.scm
build-utils.scm tests: Avoid unnecessary use of 'mock'. 2019-11-26 00:16:35 +01:00
builders.scm tests: Remove expensive and pointless test. 2019-06-14 21:57:18 +02:00
cache.scm Remove workaround for 'time-monotonic' in Guile 2.2.2. 2020-03-22 16:49:47 +01:00
challenge.scm challenge: Support "--diff=diffoscope". 2019-12-12 17:56:58 +01:00
channels.scm channels: Add mechanism to patch checkouts of the 'guix channel. 2020-05-07 10:06:15 +02:00
civodul.key Add (guix openpgp). 2020-05-04 09:56:12 +02:00
combinators.scm
containers.scm tests: Skip container test when lacking kernel support. 2019-10-15 10:21:41 +02:00
cpan.scm import: cpan: Rewrite tests to use an HTTP server instead of mocking. 2020-01-15 18:40:43 +01:00
cpio.scm
cran.scm import: cran: Avoid uses of '@@' in the tests. 2020-01-16 23:14:05 +01:00
crate.scm tests: Remove trailing commas in JSON tests. 2020-04-27 23:29:40 +02:00
cve-sample.json cve: Rewrite to read the JSON feed instead of the XML feed. 2019-10-23 16:40:17 +02:00
cve.scm cve: Rewrite to read the JSON feed instead of the XML feed. 2019-10-23 16:40:17 +02:00
debug-link.scm tests: Add 'test-assertm' to (guix tests). 2018-11-12 23:37:13 +01:00
derivations.scm derivations: Add 'derivation-input-fold'. 2019-12-07 00:29:41 +01:00
discovery.scm
dsa.key Add (guix openpgp). 2020-05-04 09:56:12 +02:00
ed25519.key Add (guix openpgp). 2020-05-04 09:56:12 +02:00
ed25519.sec Add (guix openpgp). 2020-05-04 09:56:12 +02:00
elpa.scm import: elpa: Rewrite test to use an HTTP server instead of mocking. 2020-01-16 23:14:05 +01:00
file-systems.scm
gem.scm tests: Remove trailing commas in JSON tests. 2020-04-27 23:29:40 +02:00
gexp.scm gexp: Add 'with-parameters'. 2020-03-12 18:32:15 +01:00
git.scm git: 'commit-difference' takes a list of excluded commits. 2019-12-27 13:52:49 +01:00
glob.scm
gnu-maintenance.scm
grafts.scm Merge branch 'master' into core-updates 2019-06-27 23:33:48 +02:00
graph.scm graph: Add 'shortest-path'. 2020-05-11 23:30:55 +02:00
gremlin.scm gremlin: Adjust tests for foreign distros. 2019-05-18 12:10:15 +02:00
guix-archive.sh guix archive: Add '--list'. 2019-12-12 17:56:58 +01:00
guix-authenticate.sh
guix-build-branch.sh tests: Adjust '--with-commit' test for tags. 2020-04-04 18:52:36 +02:00
guix-build.sh gnu: commencement: Memoize packages as a function of the system. 2020-04-11 00:32:41 +02:00
guix-daemon.sh daemon: Make 'profiles/per-user' non-world-writable. 2019-10-16 22:53:40 +02:00
guix-describe.sh Add 'guix describe'. 2018-09-07 11:40:22 +02:00
guix-download.sh
guix-environment-container.sh environment: '--container' honors '--preserve'. 2019-10-03 23:48:59 +02:00
guix-environment.sh environment: Document that '--manifest' can be repeated. 2019-11-22 15:07:58 +01:00
guix-gc.sh guix gc: Add '--list-roots'. 2019-04-10 17:09:47 +02:00
guix-graph.sh guix graph: Add '--path'. 2020-05-11 23:30:55 +02:00
guix-hash.sh
guix-lint.sh lint: Add '--load-path' option. 2019-12-08 23:14:03 +01:00
guix-pack-localstatedir.sh pack: '--localstatedir' and '-R' tests gracefully handle missing /gnu/store. 2019-05-18 12:23:31 +02:00
guix-pack-relocatable.sh pack: Add relocation via ld.so and fakechroot. 2020-05-14 17:21:27 +02:00
guix-pack.sh store: 'mapm/accumulate-builds' preserves '%current-target-system'. 2020-05-14 17:21:27 +02:00
guix-package-aliases.sh tests: Test 'guix show' with multiple packages. 2020-05-11 23:30:54 +02:00
guix-package-net.sh tests: Make builds less expensive. 2019-06-14 21:57:39 +02:00
guix-package.sh tests: Adjust to 'show-manifest-transaction' changes. 2020-03-25 16:02:53 +01:00
guix-system.sh guix system: Add workaround in test for Guile 3.0.0. 2020-01-17 17:12:44 +01:00
hackage.scm import: hackage: Add two expected failing test cases. 2019-06-20 14:07:01 +02:00
import-utils.scm import: utils: 'recursive-import' returns a list rather than a stream. 2019-12-11 12:13:03 +01:00
inferior.scm Merge branch 'master' into core-updates 2020-03-21 22:16:02 +01:00
lint.scm lint: vulnerabilities: Avoid 'mock' in test. 2020-01-17 14:22:07 +01:00
lzlib.scm lzlib: Define 'dictionary-size+match-length-limit'. 2020-01-16 23:14:05 +01:00
modules.scm
monads.scm
nar.scm serialization: Add 'fold-archive'. 2019-12-12 17:56:57 +01:00
networking.scm services: ntp: Ensure no double quotes are output to config file. 2019-10-30 18:15:54 -04:00
opam.scm import: opam: Avoid uses of '@@' in tests. 2020-01-17 14:22:07 +01:00
openpgp.scm openpgp: Add 'string->openpgp-packet'. 2020-05-04 09:56:13 +02:00
pack.scm gnu: Remove squashfs-tools-next. 2019-12-26 12:29:44 +01:00
packages.scm packages: Ensure bags are insensitive to '%current-target-system'. 2020-05-14 17:21:27 +02:00
pki.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
print.scm tests: Update expected values for package->code. 2020-04-20 10:57:49 +02:00
processes.scm tests: processes: Skip tests if running with binfmt. 2019-12-10 10:49:42 +01:00
profiles.scm profiles: Add lowerable <profile> record type. 2020-04-26 22:49:48 +02:00
publish.scm publish: Export 'signed-string'. 2020-01-16 18:30:57 +01:00
pypi.scm tests: Remove trailing commas in JSON tests. 2020-04-27 23:29:40 +02:00
records.scm records: Improve reporting of "invalid field specifier" errors. 2020-01-16 18:30:57 +01:00
rsa.key Add (guix openpgp). 2020-05-04 09:56:12 +02:00
scripts-build.scm guix build: '--with-commit' makes recursive checkouts. 2019-03-17 22:55:01 +01:00
scripts.scm tests: Add missing import. 2019-03-24 00:13:53 +01:00
search-paths.scm build: Remove 'gnu/packages/bootstrap' and its binaries. 2019-06-14 22:09:38 +02:00
services.scm guix system: Add 'reconfigure' module. 2019-07-26 19:19:49 +02:00
sets.scm
signing-key.pub
signing-key.sec
size.scm tests: Add 'test-assertm' to (guix tests). 2018-11-12 23:37:13 +01:00
snix.scm
status.scm status: Keep track of the current build phase. 2019-02-05 12:03:25 +01:00
store-database.scm database: Reset timestamps to one second after the Epoch. 2018-07-20 15:01:33 +02:00
store-deduplication.scm deduplication: Gracefully handle ENOSPC raised by 'link' calls. 2018-12-14 12:07:24 +01:00
store-roots.scm Add (guix store roots). 2019-04-10 17:09:47 +02:00
store.scm store: 'mapm/accumulate-builds' preserves '%current-target-system'. 2020-05-14 17:21:27 +02:00
substitute.scm substitute: Make '%allow-unauthenticated-substitutes?' public. 2019-11-27 00:03:03 +01:00
swh.scm swh: Adjust 'origin' test. 2020-02-27 23:29:30 +01:00
syscalls.scm syscalls: Add 'getxattr'. 2020-05-14 00:48:12 +02:00
system.scm system: Mapped devices needed for boot do not yield Shepherd services. 2018-06-21 23:54:15 +02:00
test.drv
texlive.scm import: texlive: Avoid uses of '@@' in tests. 2020-01-17 14:22:08 +01:00
ui.scm tests: Adjust to 'show-manifest-transaction' changes. 2020-03-25 16:02:53 +01:00
union.scm tests: Make builds less expensive. 2019-06-14 21:57:39 +02:00
upstream.scm upstream: Temporarily skip failing test. 2019-01-28 23:13:40 +01:00
utils.scm utils: canonical-newline-port: Fix handling of carriage return at buffer end. 2019-06-20 14:07:01 +02:00
uuid.scm uuid: 'fat-uuid->string' preserves leading zeros. 2019-05-07 12:18:44 +02:00
workers.scm
zlib.scm tests: Gracefully skip zlib test when zlib is missing. 2019-04-16 17:30:22 +02:00