3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

store: Adjust UTF-8 test to Guile 2.2.

* tests/store.scm ("current-build-output-port, UTF-8 + garbage"): On
Guile 2.2, expect REPLACEMENT CHARACTER instead of '?'.
This commit is contained in:
Ludovic Courtès 2017-03-15 13:54:29 +01:00
parent 70dfdd501a
commit a9a0227c01
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -383,7 +383,9 @@
(package-derivation %store %bootstrap-guile))))
(guard (c ((nix-protocol-error? c) #t))
(build-derivations %store (list d))))))))
"garbage: ?lambda: λ"))
(cond-expand
(guile-2.0 "garbage: ?lambda: λ")
(else "garbage: <20>lambda: λ"))))
(test-assert "log-file, derivation"
(let* ((b (add-text-to-store %store "build" "echo $foo > $out" '()))