guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 03/03: tests: pack: Fix %gzip-compressor and a failing test.
Date: Wed, 24 Feb 2021 04:42:21 -0500 (EST)

marusich pushed a commit to branch wip-ppc64le
in repository guix.

commit b651e70bd7e3c16f16ed77fda09ff99d51220b9a
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]