guix-devel/tests
Ludovic Courtès 29a6866886
daemon: Add gzip log compression.
* nix/nix-daemon/guix-daemon.cc (GUIX_OPT_LOG_COMPRESSION): New macro.
(options): Mark "disable-log-compression" as hidden and add
"log-compression".
(parse_opt): Handle GUIX_OPT_LOG_COMPRESSION.
* nix/libstore/build.cc (DerivationGoal): Add 'gzLogFile'.
(openLogFile): Initialize it when 'logCompression' is COMPRESSION_GZIP.
(closeLogFile, handleChildOutput): Honor 'gzLogFile'.
* nix/libstore/globals.hh (Settings)[compressLog]: Remove.
[logCompression]: New field.
(CompressionType): New enum.
* nix/libstore/globals.cc (Settings::Settings): Initialize it.
(update): Remove '_get' call for 'compressLog'.
* nix/local.mk (guix_daemon_LDADD, guix_register_LDADD): Add -lz.
* guix/store.scm (log-file): Handle '.gz' log files.
* tests/guix-daemon.sh: Add test with '--log-compression=gzip'.
* doc/guix.texi (Invoking guix-daemon): Adjust accordingly.
* config-daemon.ac: Check for libz and zlib.h.
2018-01-07 23:47:22 +01:00
..
base16.scm
base32.scm
base64.scm
bournish.scm
build-utils.scm
builders.scm
cache.scm
challenge.scm
combinators.scm
containers.scm tests: Fix race condition in 'container-excursion*' test. 2017-05-31 17:08:45 +02:00
cpan.scm Revert "import: cpan: Use HTTPS for home pages." 2017-10-30 17:20:42 +01:00
cpio.scm
cran.scm import: cran: Robustify cran-package?. 2017-05-13 12:40:20 +02:00
crate.scm
cve-sample.xml
cve.scm
derivations.scm tests: Support multiple HTTP server instances. 2017-10-12 23:47:48 +02:00
discovery.scm discovery: Recurse into directories pointed to by a symlink. 2017-07-03 23:51:23 +02:00
elpa.scm
file-systems.scm uuid: Move tests to 'tests/uuid.scm'. 2017-09-14 00:10:13 +02:00
gem.scm
gexp.scm gexp: 'ungexp-splicing' properly accounts for nested native inputs. 2017-07-17 23:41:36 +02:00
gnu-maintenance.scm
grafts.scm graft: Correctly replace references near the end of the scan buffer. 2017-08-24 23:55:51 +02:00
graph.scm
gremlin.scm
guix-archive.sh
guix-authenticate.sh
guix-build.sh tests: Refer to "time@1.8". 2017-11-11 15:33:04 +01:00
guix-daemon.sh daemon: Add gzip log compression. 2018-01-07 23:47:22 +01:00
guix-download.sh guix download: Support retrieving local file without the URI scheme. 2017-08-20 20:55:45 +08:00
guix-environment-container.sh
guix-environment.sh environment: Disable profile collision checks. 2017-06-21 16:53:22 +02:00
guix-gc.sh guix gc: '--verify=foo' is reported as an error. 2017-12-18 23:17:30 +01:00
guix-graph.sh
guix-hash.sh
guix-lint.sh
guix-package-net.sh tests: Remove 't-profile-alt-*-link' files. 2017-06-02 18:47:06 +02:00
guix-package.sh tests: Adjust to new unbound-variable error message. 2017-11-11 15:33:47 +01:00
guix-register.sh
guix-system.sh gnu, doc, tests: Use ‘bootloader-configuration’ everywhere. 2017-12-06 15:02:24 +01:00
hackage.scm
hash.scm
import-utils.scm import: Use a 'file://' URL in 'alist->package' test. 2017-10-06 14:16:24 +02:00
lint.scm lint: 'check-vulnerabilities' also checks package properties. 2017-12-10 21:59:07 +02:00
modules.scm modules: Raise an error when a dependency could not be found. 2017-05-25 14:25:17 +02:00
monads.scm
nar.scm
pack.scm
packages.scm
pk-crypto.scm
pki.scm
print.scm import: Add package->code. 2017-09-28 13:10:10 +02:00
profiles.scm profiles: Add 'manifest-transaction-removal-candidate?'. 2017-06-26 22:52:06 +02:00
publish.scm tests: Avoid double slash in URIs. 2017-12-01 18:47:34 +01:00
pypi.scm import: pypi: Adjust URIs in tests. 2017-06-18 00:14:07 +02:00
records.scm
scripts-build.scm guix build: Support '--with-source=PACKAGE@VERSION=URI'. 2017-12-23 00:05:05 +01:00
scripts.scm
search-paths.scm tests: Adjust search-paths test following the introduction of aarch64. 2017-04-04 00:10:00 +02:00
services.scm services: Add 'lookup-service-types'. 2017-11-08 22:31:58 +01:00
sets.scm
signing-key.pub
signing-key.sec
size.scm
snix.scm
store.scm tests: Disable test for freed disk space that fails on Btrfs. 2017-11-21 22:46:55 +01:00
substitute.scm substitute: Download from unauthorized sources that provide the right content. 2017-09-11 11:10:21 +02:00
syscalls.scm syscalls: Adjust utmpx test. 2017-11-25 18:12:33 +01:00
system.scm gnu, doc, tests: Use ‘bootloader-configuration’ everywhere. 2017-12-06 15:02:24 +01:00
test.drv
texlive.scm guix: Add texlive importer. 2017-06-15 17:03:19 +02:00
ui.scm ui: 'string->duration' correctly handles hours. 2017-05-10 22:05:21 +02:00
union.scm
upstream.scm
utils.scm
uuid.scm uuid: Fix typo in 'uuid=?' test. 2017-10-06 14:16:23 +02:00
workers.scm workers: Add test with exceptions. 2017-11-17 10:47:49 +01:00
zlib.scm zlib: Fix memory leak due to revealed ports not being GC'd. 2017-10-11 15:20:50 +02:00