guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

18/18: tests: pack: Fix %gzip-compressor and a failing test.


From: guix-commits
Subject: 18/18: tests: pack: Fix %gzip-compressor and a failing test.
Date: Wed, 10 Mar 2021 10:25:08 -0500 (EST)

efraim pushed a commit to branch wip-ppc64le-for-master
in repository guix.

commit 8f52ea2d2bbd58c6f23af338f109b8ba3a4b4e86
Author: Chris Marusich <cmmarusich@gmail.com>
AuthorDate: Wed Feb 24 00:57:09 2021 -0800

    tests: pack: Fix %gzip-compressor and a failing test.
    
    * tests/pack.scm (%gzip-compressor): Fix the compressor's G-Expression by
    adding the symbol "list" as the first element of the gexp'd list.  
Previously,
    %gzip-compressor caused the "self-contained-tarball" test to fail because it
    would cause the builder to incorrectly attempt to apply a string like
    
"test-tmp/store/qgfnpsjc8q40fw5jyfxi4hjrppspvs4z-bootstrap-binaries-0/bin/gzip"
    as if it were a procedure.  This test code regression was likely introduced
    accidentally in commit 5a0997ef7f3968d216328b8c63a6e36dd29a5ab8 ("packages,
    scripts, utils: Enable multi-threaded xz compression.").
---
 tests/pack.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/pack.scm b/tests/pack.scm
index e8455b4..20dd922 100644
--- a/tests/pack.scm
+++ b/tests/pack.scm
@@ -52,7 +52,7 @@
   ;; Compressor that uses the bootstrap 'gzip'.
   ((@ (guix scripts pack) compressor) "gzip"
    "gz"
-   #~(#+(file-append %bootstrap-coreutils&co "/bin/gzip") "-6n")))
+   #~(list #+(file-append %bootstrap-coreutils&co "/bin/gzip") "-6n")))
 
 (define %tar-bootstrap %bootstrap-coreutils&co)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]