GNU bug report logs - #57573
disarchive: Test "[prop] Writing is reversible" fails

Previous Next

Package: guix;

Reported by: Maxime Devos <maxime.devos <at> student.kuleuven.be>

Date: Sun, 4 Sep 2022 08:12:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Timothy Sample <samplet <at> ngyro.com>
To: Maxime Devos <maxime.devos <at> student.kuleuven.be>
Cc: 57573 <at> debbugs.gnu.org
Subject: bug#57573: disarchive: Test "[prop] Writing is reversible" fails
Date: Thu, 08 Sep 2022 12:21:31 -0600
Hi Maxime,

Maxime Devos <maxime.devos <at> student.kuleuven.be> writes:

> (define o (make-unstructured-octal 0 (make-zero-string "0" "䤄")))
> (unless (valid-octal? o) (error "oops"))
> (test-equal "Writing is reversible (#57573)"
>         o (decode-octal (encode-octal o)))

Right.  That unstructured octal should be invalid.  By the definition in
the code, it has too much “structure”.  It’s a test issue, the actual
code is fine.  I’ll patch the tests and make a point release in the
coming days.

Thanks for the heads up and the analysis, and sorry for the
inconvenience!


-- Tim

P.S. I’m excited about antioxidant – good work and happy hacking!




This bug report was last modified 2 years and 283 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.