Diego Nieto Cid, le mar. 03 déc. 2024 11:47:08 -0300, a ecrit: > El mar, 3 dic 2024 a las 11:26, Samuel Thibault > (<samuel.thiba...@gnu.org>) escribió: > > > > Diego Nieto Cid, le mar. 03 déc. 2024 11:10:57 -0300, a ecrit: > > > which produce the following piece of logs: > > > > > > $ cat tests/tmplog > > > + '[' -z '' ']' > > > + ../programs/zstd tmp -f -o /dev/random > > > zstd: /dev/random: Permission denied > > > > Eh? Why writing to random? What sense is this supposed to have for > > non-root? > > It's testing that a non regular file doesn't fail and rather continues > silently. Not sure why the wouldn't want to error out in such cases > :shrug: > > The device node is picked earlier in the test script [1]: > > INTOVOID="/dev/null" > case "$UNAME" in > GNU) DEVDEVICE="/dev/random" ;; > *) DEVDEVICE="/dev/zero" ;;
Possibly the -o option is using DEVDEVICE while it should be useing INTOVOID? (and that wasn't noticed on linux just because it's 666 there) > > And what is surprising is: does it actually work on hurd-i386? > > Yes, there's a patch to skip de failing tests on hurd-i386 [2] Ah, ok. I'd say better manage to fix the test and get it pass on hurd-i386 too. Samuel