diff options
author | Marius Bakke <mbakke@fastmail.com> | 2018-03-01 18:04:12 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2018-03-01 18:04:12 +0100 |
commit | 86990eeda2a85acd3640059c0b681f1eddbacba0 (patch) | |
tree | df0d4f0b86dad2b260b7354d451993c141dde5e7 /tests/hash.scm | |
parent | 6d796220c417a34100c282a7fa1f9afb6ac00339 (diff) | |
parent | 52fb59ef253d9550ca4cfa095c2c0c2360d79095 (diff) | |
download | guix-86990eeda2a85acd3640059c0b681f1eddbacba0.tar.gz |
Merge branch 'master' into staging
Diffstat (limited to 'tests/hash.scm')
-rw-r--r-- | tests/hash.scm | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/hash.scm b/tests/hash.scm index b189e435c8..b4cf2b61d6 100644 --- a/tests/hash.scm +++ b/tests/hash.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2013, 2014, 2017 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2013, 2014, 2017, 2018 Ludovic Courtès <ludo@gnu.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -37,13 +37,6 @@ (base16-string->bytevector "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9")) -(define (supports-unbuffered-cbip?) - "Return #t if unbuffered custom binary input ports (CBIPs) are supported. -In Guile <= 2.0.9, CBIPs were always fully buffered, so the -'open-sha256-input-port' does not work there." - (false-if-exception - (setvbuf (make-custom-binary-input-port "foo" pk #f #f #f) _IONBF))) - (test-begin "hash") @@ -77,8 +70,6 @@ In Guile <= 2.0.9, CBIPs were always fully buffered, so the (equal? (sha256 contents) (call-with-input-file file port-sha256)))) -(test-skip (if (supports-unbuffered-cbip?) 0 4)) - (test-equal "open-sha256-input-port, empty" `("" ,%empty-sha256) (let-values (((port get) |