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:
parent
70dfdd501a
commit
a9a0227c01
1 changed files with 3 additions and 1 deletions
|
@ -383,7 +383,9 @@ (define (same? x y)
|
|||
(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" '()))
|
||||
|
|
Loading…
Reference in a new issue