summaryrefslogtreecommitdiff
path: root/tests/file-systems.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2026-01-03 22:15:15 +0100
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:23:25 +0100
commitd118a89d62ef1e85199f90a1267e555b49d38ee8 (patch)
tree8b88ea5d9977e05d8c37d1bd72f772575e22c446 /tests/file-systems.scm
parent64acb4e65d32299e4547f6432bff1ffb74d27699 (diff)
tests: Adjust to Guile 3.0.10+.
Guile 3.0.11 introduced a new implementation of (srfi srfi-34) with subtle changes wrt. exceptionm handling. This adjusts to these changes. Changes in ‘tests/style.scm’ are due to the new output of (ice-9 pretty-print) in 3.0.10. * tests/file-systems.scm ("btrfs-store-subvolume-file-name (subvolid)"): Specify the exception type. * tests/services/file-sharing.scm ("transmission-password-hash, salt value too short") ("transmission-password-hash, salt value too long"): Likewise. * tests/store.scm ("store-path-package-name #f"): Change to ‘test-error’ with #t as the exception type. * tests/style.scm: Skip all the tests on Guile > 3.0.9. * tests/toml.scm <top level>: Set ‘raise’ in (guix build toml). ("parse-toml: No key"): Use ‘test-error’ instead of ‘test-equal’. ("parse-toml: Assignment to non-table"): Likewise. ("parse-toml: Invalid assignment to implicit table"): Change exception type to #t ("parse-toml: Assignment to statically defined array"): Likewise. Change-Id: I54ea77f22d3e95f72dad90690631876e7f013054 Signed-off-by: Ludovic Courtès <ludo@gnu.org> Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'tests/file-systems.scm')
-rw-r--r--tests/file-systems.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/file-systems.scm b/tests/file-systems.scm
index 1c58454fa23..cffe70375b0 100644
--- a/tests/file-systems.scm
+++ b/tests/file-systems.scm
@@ -22,6 +22,7 @@
#:use-module (guix modules)
#:use-module (gnu system file-systems)
#:use-module (srfi srfi-1)
+ #:use-module ((srfi srfi-35) #:select (&message))
#:use-module (srfi srfi-64)
#:use-module (ice-9 match))
@@ -124,6 +125,7 @@
%btrfs-store-subvolume))))
(test-error "btrfs-store-subvolume-file-name (subvolid)"
+ &message
(parameterize ((%store-prefix "/gnu/store"))
(btrfs-store-subvolume-file-name (list %btrfs-root-subvolume
%btrfs-store-subvolid))))