[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: store: Adjust UTF-8 test to Guile 2.2.
From: |
Ludovic Courtès |
Subject: |
04/06: store: Adjust UTF-8 test to Guile 2.2. |
Date: |
Wed, 15 Mar 2017 10:26:23 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit a9a0227c0127e1813190a7664f7ad858e791480d
Author: Ludovic Courtès <address@hidden>
Date: Wed Mar 15 13:54:29 2017 +0100
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 '?'.
---
tests/store.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/store.scm b/tests/store.scm
index 64d3553..c0ebe7b 100644
--- a/tests/store.scm
+++ b/tests/store.scm
@@ -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: �lambda: λ"))))
(test-assert "log-file, derivation"
(let* ((b (add-text-to-store %store "build" "echo $foo > $out" '()))
- branch master updated (bd10215 -> 608e42e), Ludovic Courtès, 2017/03/15
- 02/06: zlib: Don't rely on EBADF being ignored by 'fport_close'., Ludovic Courtès, 2017/03/15
- 04/06: store: Adjust UTF-8 test to Guile 2.2.,
Ludovic Courtès <=
- 06/06: build: Prefer Guile 2.2 over 2.0., Ludovic Courtès, 2017/03/15
- 05/06: tests: Expect less accurate location info in 2.2.0., Ludovic Courtès, 2017/03/15
- 03/06: syscalls: Adjust 'clone' to Guile 2.2., Ludovic Courtès, 2017/03/15
- 01/06: maint: Mention address@hidden in 'HACKING'., Ludovic Courtès, 2017/03/15