guix/tests
Ludovic Courtès 81a0f1cdf1
zlib: Don't rely on EBADF being ignored by 'fport_close'.
In 2.2, 'fport_close' no longer swallows EBADF and instead raises a
'system-error' for this.  This commit adjusts for 2.2.

* guix/zlib.scm (close-procedure): Remove.
(make-gzip-input-port): Use 'port->fdes' instead of 'fileno'.
Use 'gzclose' instead of 'close-procedure'.
(make-gzip-output-port): Likewise.
* tests/zlib.scm ("compression/decompression pipe"): Don't check whether
PARENT is closed using 'port-closed?'.  Instead, use 'seek' on the
underlying FD and check for EBADF.
2017-03-15 15:19:53 +01:00
..
base32.scm
base64.scm
bournish.scm
build-utils.scm
builders.scm
challenge.scm
combinators.scm
containers.scm
cpan.scm
cpio.scm
cran.scm tests: Avoid zero-expression 'begin' form. 2017-03-08 23:42:52 +01:00
crate.scm
cve-sample.xml
cve.scm
derivations.scm
elpa.scm
file-systems.scm
gem.scm
gexp.scm
gnu-maintenance.scm
grafts.scm
graph.scm
gremlin.scm
guix-archive.sh
guix-authenticate.sh
guix-build.sh
guix-daemon.sh
guix-download.sh
guix-environment-container.sh
guix-environment.sh
guix-gc.sh
guix-graph.sh
guix-hash.sh
guix-lint.sh
guix-package-net.sh
guix-package.sh
guix-register.sh
guix-system.sh
hackage.scm
hash.scm
import-utils.scm
lint.scm
modules.scm
monads.scm
nar.scm
pack.scm pack: Add unit test. 2017-03-14 23:18:32 +01:00
packages.scm
pk-crypto.scm
pki.scm
profiles.scm
publish.scm
pypi.scm
records.scm
scripts-build.scm
scripts.scm
services.scm
sets.scm
signing-key.pub
signing-key.sec
size.scm
snix.scm
store.scm
substitute.scm
syscalls.scm
system.scm
test.drv
ui.scm ui: Don't use '%default-port-encoding' to set the encoding of string ports. 2017-03-08 23:42:53 +01:00
union.scm
upstream.scm
utils.scm
zlib.scm zlib: Don't rely on EBADF being ignored by 'fport_close'. 2017-03-15 15:19:53 +01:00