guix-devel/tests
Ludovic Courtès 85a2b58987
zlib: Fix memory leak due to revealed ports not being GC'd.
Fixes <https://bugs.gnu.org/28784>.

This mostly reverts 81a0f1cdf1, which
introduced a regression: revealed ports are *never* GC'd (contrary to
what Guile's manual suggests).

In addition to the revert, 'close-procedure' now explicitly swallows
EBADF errors when 'close-port' is called.

* guix/zlib.scm (close-procedure): New procedure.
(make-gzip-input-port)[gzfile]: Use 'fileno' instead of 'port->fdes'.
Use 'close-procedure' instead of 'gzclose'.
(make-gzip-output-port): Likewise.
* tests/zlib.scm ("compression/decompression pipe"): Use 'port-closed?'
to determine whether PARENT has been closed.
2017-10-11 15:20:50 +02: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 import: cpan: Adjust expected license in tests. 2017-09-14 00:10:13 +02: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 derivations: 'derivation-prerequisites-to-build' returns <substitutable>. 2017-06-02 18:47:06 +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
guix-daemon.sh daemon: '--listen' can be passed several times, can specify TCP endpoints. 2017-06-22 10:59:07 +02: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-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 guix package: 'guix package -r PKG -u' does not upgrade PKG. 2017-06-26 22:52:06 +02:00
guix-register.sh
guix-system.sh ui: Improve reporting of missing closing parentheses. 2017-10-10 23:12:03 +02: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
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 publish: Cache uncompressed nars as well. 2017-10-05 23:05:06 +02:00
pypi.scm import: pypi: Adjust URIs in tests. 2017-06-18 00:14:07 +02:00
records.scm
scripts-build.scm
scripts.scm
search-paths.scm
services.scm
sets.scm
signing-key.pub
signing-key.sec
size.scm
snix.scm
store.scm
substitute.scm substitute: Download from unauthorized sources that provide the right content. 2017-09-11 11:10:21 +02:00
syscalls.scm syscalls: Add network-interface-running? 2017-07-12 16:15:30 +02:00
system.scm gnu: bootloader: Deprecate "device" field in favor of "target". 2017-08-23 22:23:19 +02:00
test.drv
texlive.scm guix: Add texlive importer. 2017-06-15 17:03:19 +02:00
ui.scm
union.scm
upstream.scm
utils.scm
uuid.scm uuid: Fix typo in 'uuid=?' test. 2017-10-06 14:16:23 +02:00
workers.scm
zlib.scm zlib: Fix memory leak due to revealed ports not being GC'd. 2017-10-11 15:20:50 +02:00