* Acl test investigation @ 2017-06-20 16:37 Kei Kebreau 0 siblings, 0 replies; 2+ messages in thread From: Kei Kebreau @ 2017-06-20 16:37 UTC (permalink / raw) To: guix-devel [-- Attachment #1: Type: text/plain, Size: 518 bytes --] I discovered that the Acl tests are failing partly because the coreutils seemingly aren't compiled with Acl support before the tests are run (even though acl is an input to coreutils). The tests are written with the assumption that the coreutils are built with Acl support. An example is in the sbits-restore.test file, where a sed command is expecting to remove an Acl bit from ls output, but instead removes normal directory permission information. Any ideas on how to resolve this without disabling the Acl tests? [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 832 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <87vanqpqcc.fsf@openmailbox.org>]
[parent not found: <87o9til8ea.fsf@gnu.org>]
* Re: Acl test investigation [not found] ` <87o9til8ea.fsf@gnu.org> @ 2017-06-21 0:06 ` Kei Kebreau 0 siblings, 0 replies; 2+ messages in thread From: Kei Kebreau @ 2017-06-21 0:06 UTC (permalink / raw) To: Ludovic Courtès; +Cc: guix-devel [-- Attachment #1: Type: text/plain, Size: 1433 bytes --] ludo@gnu.org (Ludovic Courtès) writes: > Hello Kei, > > Kei Kebreau <kei@openmailbox.org> skribis: > >> I discovered that the Acl tests are failing partly because the coreutils >> seemingly aren't compiled with Acl support before the tests are run >> (even though acl is an input to coreutils). The tests are written with >> the assumption that the coreutils are built with Acl support. An example >> is in the sbits-restore.test file, where a sed command is expecting to >> remove an Acl bit from ls output, but instead removes normal directory >> permission information. >> >> Any ideas on how to resolve this without disabling the Acl tests? > > Could you give a bit more context? On which branch does this failure > happen? > I discovered this on the master branch and there didn't seem to be fixes on core-updates. > If the unit tests of the ‘acl’ package check the output of ‘ls’, then > there’s a circular dependency issue between Coreutils and ACL. I would > argue that it’s up to Coreutils to test its ‘ls’ command, but in the > meantime, we could patch ACL to skip its ‘ls’ test. > ACL tests still fail later on, but the 'ls' test is easily fixable (just remove the sed statement that removes the last character). I'll craft the 'ls' related patch and see if the others can be fixed as well. > Is this what you were asking? :-) > Yes. Thanks! > Ludo’. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 832 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-06-21 2:26 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-06-20 16:37 Acl test investigation Kei Kebreau [not found] <87vanqpqcc.fsf@openmailbox.org> [not found] ` <87o9til8ea.fsf@gnu.org> 2017-06-21 0:06 ` Kei Kebreau
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).