aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-11-13 00:34:56 +0100
committerLudovic Courtès <ludo@gnu.org>2012-11-13 00:34:56 +0100
commit1dfb715df0e3ab79e799bb13fd4a349f72e992ec (patch)
tree3491fd41cc29213aeeb67e72f7a78b957323e1aa /tests
parent671d8f5e6f6b9556286f2d58a98d12bcac172299 (diff)
downloadgnu-guix-1dfb715df0e3ab79e799bb13fd4a349f72e992ec.tar
gnu-guix-1dfb715df0e3ab79e799bb13fd4a349f72e992ec.tar.gz
tests: Remove extraneous test.
* tests/derivations.scm ("build-expression->derivation for fixed-output derivation"): Remove test. It is redundant with that in builders.scm, and doesn't work out of the box with the statically-linked %BOOTSTRAP-GUILE.
Diffstat (limited to 'tests')
-rw-r--r--tests/derivations.scm24
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/derivations.scm b/tests/derivations.scm
index 618a7c4b96..bcedfbf948 100644
--- a/tests/derivations.scm
+++ b/tests/derivations.scm
@@ -412,30 +412,6 @@
(s (stat (string-append p "/guile/guix/nix"))))
(eq? (stat:type s) 'directory)))))
-(test-skip (if (false-if-exception (getaddrinfo "ftp.gnu.org" "http"))
- 0
- 1))
-
-(test-assert "build-expression->derivation for fixed-output derivation"
- (let* ((url "http://ftp.gnu.org/gnu/hello/hello-2.8.tar.gz")
- (builder
- `(begin
- (use-modules (web client) (web uri)
- (rnrs io ports) (srfi srfi-11))
- (let-values (((resp bv)
- (http-get (string->uri ,url) #:decode-body? #f)))
- (call-with-output-file %output
- (lambda (p)
- (put-bytevector p bv))))))
- (drv-path (build-expression->derivation
- %store "hello-2.8.tar.gz" (%current-system) builder '()
- #:hash (nix-base32-string->bytevector
- "0wqd8sjmxfskrflaxywc7gqw7sfawrfvdxd9skxawzfgyy0pzdz6")
- #:hash-algo 'sha256))
- (succeeded? (build-derivations %store (list drv-path))))
- (and succeeded?
- (file-exists? (derivation-path->output-path drv-path)))))
-
(test-assert "build-expression->derivation: same fixed-output path"
(let* ((builder1 '(call-with-output-file %output
(lambda (p)