guix-devel/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 build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
base64.scm substitute-binary: Support the Signature field of a narinfo file. 2014-03-30 12:02:10 +02:00
bournish.scm bournish: Extend 'rm' command. 2017-01-26 13:49:56 +01:00
build-utils.scm utils: 'wrap-program' produces only one wrapper file. 2016-09-07 23:59:02 +02:00
builders.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
challenge.scm challenge: Return comparison reports instead of just discrepancies. 2017-01-14 00:57:51 +01:00
combinators.scm utils: Move combinators to (guix combinators). 2016-05-04 23:35:55 +02:00
containers.scm linux-container: Add 'container-excursion*'. 2017-02-07 00:08:10 +01:00
cpan.scm tests: Adjust for 'http-fetch' change in (guix import json). 2017-02-13 16:04:09 +01:00
cpio.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
cran.scm tests: Avoid zero-expression 'begin' form. 2017-03-08 23:42:52 +01:00
crate.scm tests: Adjust for 'http-fetch' change in (guix import json). 2017-02-13 16:04:09 +01:00
cve-sample.xml Add (guix cve). 2015-11-26 22:35:01 +01:00
cve.scm cve: Use a more compact format for the list of package/versions. 2016-05-28 01:07:12 +02:00
derivations.scm daemon: Allow check builds of 'builtin:download' derivations. 2017-01-11 17:06:31 +01:00
elpa.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
file-systems.scm file-systems: Remove dependency on (guix store). 2017-02-04 02:13:43 +01:00
gem.scm tests: Adjust for 'http-fetch' change in (guix import json). 2017-02-13 16:04:09 +01:00
gexp.scm gexp: Support 'ungexp' forms in improper lists. 2017-01-01 23:30:30 +01:00
gnu-maintenance.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
grafts.scm grafts: Do not pull derivation outputs not depended on. 2017-01-25 11:04:25 +01:00
graph.scm graph: Add '%reverse-package-node-type'. 2017-01-04 16:18:53 +01:00
gremlin.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
guix-archive.sh guix archive: Add '--extract'. 2015-10-19 10:10:47 +02:00
guix-authenticate.sh authenticate: Allow signatures with binary data to be written to stdout. 2014-04-22 11:30:58 +02:00
guix-build.sh tests: Adjust 'guix build -S' test for source-less packages. 2016-10-03 15:24:21 +02:00
guix-daemon.sh daemon: Client settings no longer override daemon settings. 2017-01-15 15:43:22 +01:00
guix-download.sh guix download: Add '-o' option. 2016-11-16 18:00:41 +01:00
guix-environment-container.sh tests: Fix 'guix environment --container' test in the presence of tmpfs. 2016-08-29 00:09:44 +02:00
guix-environment.sh guix environment, build: Allow absolute file names with '--root'. 2017-01-19 00:11:15 +01:00
guix-gc.sh guix gc: Error out when extra arguments are passed. 2015-11-11 23:29:20 +01:00
guix-graph.sh graph: Allow store file names for 'derivation' and 'references' graphs. 2016-05-21 01:35:14 +02:00
guix-hash.sh guix hash: Interpret '-' as standard input. 2016-10-28 22:30:17 +02:00
guix-lint.sh tests: Do not run 'cve' checker in 'tests/guix-lint.sh'. 2016-05-24 14:45:18 +02:00
guix-package-net.sh guix package: '--search-paths' can report combined search paths. 2015-11-11 00:37:50 +01:00
guix-package.sh guix package: Fix version and output for 'guix package -i /gnu/store/…'. 2017-01-11 11:58:21 +01:00
guix-register.sh tests: Improve synchronization in 'tests/guix-register.sh'. 2016-07-29 11:39:30 +02:00
guix-system.sh tests: Adjust to Shepherd error message change. 2016-07-20 14:49:01 +02:00
hackage.scm tests: hackage: Fix mock urls. 2016-09-01 13:40:49 +03:00
hash.scm hash: Close or flush sha256 output ports before calling their 'get' procedure. 2017-03-08 23:42:52 +01:00
import-utils.scm import: utils: Refactor license->symbol. 2016-09-28 13:17:15 +02:00
lint.scm Merge branch 'master' into python-build-system 2016-11-25 11:20:21 -05:00
modules.scm Add (guix modules). 2016-09-05 00:06:47 +02:00
monads.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
nar.scm hash: Close or flush sha256 output ports before calling their 'get' procedure. 2017-03-08 23:42:52 +01:00
pack.scm pack: Add unit test. 2017-03-14 23:18:32 +01:00
packages.scm profiles: Remove dependency on 'glibc-utf8-locales' for tests. 2016-12-17 14:46:42 +01:00
pk-crypto.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
pki.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
profiles.scm profiles: Remove dependency on 'glibc-utf8-locales' for tests. 2016-12-17 14:46:42 +01:00
publish.scm tests: Make sure threads use separate output ports. 2016-08-02 18:07:19 +02:00
pypi.scm tests: Adjust for 'http-fetch' change in (guix import json). 2017-02-13 16:04:09 +01:00
records.scm records: Improve reporting of invalid field specifiers. 2016-07-14 19:07:07 +02:00
scripts-build.scm guix build: '--with-source' overrides the 'replacement' of a package. 2016-12-21 23:48:14 +01:00
scripts.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
services.scm services: shepherd: Add 'shepherd-service-upgrade', from 'guix system'. 2016-08-31 15:44:20 +02:00
sets.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
signing-key.pub daemon: Implement signed archive import/export. 2013-12-20 17:17:42 +01:00
signing-key.sec daemon: Implement signed archive import/export. 2013-12-20 17:17:42 +01:00
size.scm size: 'store-profile' takes a list of store items. 2016-05-24 23:05:28 +02:00
snix.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
store.scm store: Add 'add-data-to-store'. 2017-01-30 10:52:45 +01:00
substitute.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
syscalls.scm tests: Relax test on utmpx entries. 2017-02-11 22:28:37 +01:00
system.scm services: shepherd: Add 'shepherd-service-upgrade', from 'guix system'. 2016-08-31 15:44:20 +02:00
test.drv Add unit test for derivation parsing and output. 2012-04-19 23:09:55 +02:00
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 build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
upstream.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
utils.scm utils: Support defaults in substitute-keyword-arguments. 2016-10-07 07:42:05 -05:00
zlib.scm zlib: Don't rely on EBADF being ignored by 'fport_close'. 2017-03-15 15:19:53 +01:00