unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#49240: Guix 1.3.0 tests/guix-environment.sh fails with Guile 2.2.7
@ 2021-06-27  9:40 藍挺瑋
  0 siblings, 0 replies; only message in thread
From: 藍挺瑋 @ 2021-06-27  9:40 UTC (permalink / raw)
  To: 49240

The commit d613c1771a1986d3c0f1e034155fde41f32f9b8e seems to break tests/guix-
environment.sh test for Guix 1.3.0 on Guile 2.2.7.

The line which causes the test to fail is:

  (when (zero? (modulo (round (* 100. (/ transferred size))) 10))

When Guile 2.2.7 runs this line, it fails with the error:

  Wrong type (expecting exact integer): 2.0

The error comes from the call to 'zero?'.

This issue can be related to https://issues.guix.gnu.org/issue/44985 because the
commit mentioned above is an attempt to fix the issue.




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-27  9:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-27  9:40 bug#49240: Guix 1.3.0 tests/guix-environment.sh fails with Guile 2.2.7 藍挺瑋

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).