summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/packages.scm5
-rw-r--r--tests/union.scm6
2 files changed, 5 insertions, 6 deletions
diff --git a/tests/packages.scm b/tests/packages.scm
index 7de3fc2156..04e3b0bce9 100644
--- a/tests/packages.scm
+++ b/tests/packages.scm
@@ -141,7 +141,7 @@
 
 (test-equal "package-source-derivation, snippet"
   "OK"
-  (let* ((file   (search-bootstrap-binary "guile-2.0.7.tar.xz"
+  (let* ((file   (search-bootstrap-binary "guile-2.0.9.tar.xz"
                                           (%current-system)))
          (sha256 (call-with-input-file file port-sha256))
          (fetch  (lambda* (store url hash-algo hash
@@ -157,8 +157,7 @@
                      `(("tar" ,%bootstrap-coreutils&co)
                        ("xz" ,%bootstrap-coreutils&co)
                        ("patch" ,%bootstrap-coreutils&co)))
-                    (patch-guile (package-derivation %store
-                                                     %bootstrap-guile))
+                    (patch-guile %bootstrap-guile)
                     (modules '((guix build utils)))
                     (imported-modules modules)
                     (snippet '(begin
diff --git a/tests/union.scm b/tests/union.scm
index cb110c3b1e..54e2850942 100644
--- a/tests/union.scm
+++ b/tests/union.scm
@@ -116,10 +116,10 @@
                 (directory-exists? "lib/gcc")
                 (file-exists? "include/unistd.h")
 
-                ;; The 'include' sub-directory is only found in
-                ;; glibc-bootstrap, so it should be unified in a
+                ;; The 'include/c++' sub-directory is only found in
+                ;; gcc-bootstrap, so it should be unified in a
                 ;; straightforward way, without traversing it.
-                (eq? 'symlink (stat:type (lstat "include")))
+                (eq? 'symlink (stat:type (lstat "include/c++")))
 
                 ;; Conversely, several inputs have a 'bin' sub-directory, so
                 ;; unifying it requires traversing them all, and creating a