;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016, 2019 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (test-zlib) #:use-module (guix zlib) #:use-module (guix tests) #:use-module (srfi srfi-64) #:use-module (rnrs bytevectors) #:use-module (rnrs io ports) #:use-module (ice-9 match)) ;; Test the (guix zlib) module. (test-begin "zlib") (unless (zlib-available?) (test-skip 1)) (test-assert "compression/decompression pipe" (let ((data (random-bytevector (+ (random 10000) (* 20 1024))))) (match (pipe) ((parent . child) (match (primitive-fork) (0 ;compress (dynamic-wind (const #t) (lambda () (close-port parent) (call-with-gzip-output-port child (lambda (port) (put-bytevector port data)))) (lambda () (primitive-exit 0)))) (pid ;decompress (begin (close-port child) (let ((received (call-with-gzip-input-port parent (lambda (port) (get-bytevector-all port)) #:buffer-size (* 64 1024)))) (match (waitpid pid) ((_ . status) (and (zero? status) (port-closed? parent) (bytevector=? received data)))))))))))) (test-end) ref='/guix/log/gnu/packages?id=1d51585573f49105edd1a577ba53e86367ffd821'>packages/xiph.scm
AgeCommit message (Expand)Author
2016-07-22gnu: opus: Update to 1.1.3....Leo Famulari
2016-05-30gnu: vorbis-tools: Fix CVE-2014-9638, CVE-2014-9639, CVE-2014-9640....Efraim Flashner
2016-05-12gnu: Update module imports for asciidoc and doxygen....Mark H Weaver
2016-05-01gnu: ao: Replace "itemize" with "enumerate" in description string....John Darrington
2016-05-01gnu: ao: Format the description string....John Darrington
2016-04-14gnu: packages: Use 'search-patches' everywhere....Alex Kost
2016-03-22gnu: icecast: Update to 2.4.3 [fixes CVE-2015-3026]....Leo Famulari
2016-03-11gnu: vorbis-tools: Patch buffer overflow [fixes CVE-2015-6749]....Ludovic Courtès
2016-02-03gnu: ao: Update to 1.2.0....Efraim Flashner
2016-01-20gnu: libshout: Update to 2.4.1....Efraim Flashner
2016-01-20gnu: opusfile: Update to 0.7....Efraim Flashner
2016-01-20gnu: opus: Update to 1.1.2....Efraim Flashner
2015-12-26gnu: opus-tools: Update source URL....Leo Famulari
2015-12-06gnu: Move pkg-config to native inputs....Mathieu Lirzin
2015-12-02gnu: opus: Update to 1.1.1....Efraim Flashner
2015-10-21gnu: Add opusfile....Paul van der Walt
2015-10-21Revert "gnu: Add opusfile."...Paul van der Walt
2015-10-21gnu: Add opusfile....Paul van der Walt