[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libzstd :: non-regular file test failure
From: |
Samuel Thibault |
Subject: |
Re: libzstd :: non-regular file test failure |
Date: |
Tue, 3 Dec 2024 15:52:26 +0100 |
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.thibault@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
- libzstd :: non-regular file test failure, Diego Nieto Cid, 2024/12/03
- Re: libzstd :: non-regular file test failure, Samuel Thibault, 2024/12/03
- Re: libzstd :: non-regular file test failure, Diego Nieto Cid, 2024/12/03
- Re: libzstd :: non-regular file test failure,
Samuel Thibault <=
- Re: libzstd :: non-regular file test failure, Diego Nieto Cid, 2024/12/03
- Re: libzstd :: non-regular file test failure, Samuel Thibault, 2024/12/03
- Re: libzstd :: non-regular file test failure, Diego Nieto Cid, 2024/12/03
- Re: libzstd :: non-regular file test failure, Samuel Thibault, 2024/12/03
- Re: libzstd :: non-regular file test failure, Diego Nieto Cid, 2024/12/03
- Re: libzstd :: non-regular file test failure, Diego Nieto Cid, 2024/12/03
- Re: libzstd :: non-regular file test failure, Samuel Thibault, 2024/12/03
- Re: libzstd :: non-regular file test failure, Samuel Thibault, 2024/12/03
- Re: libzstd :: non-regular file test failure, Diego Nieto Cid, 2024/12/03
- Re: libzstd :: non-regular file test failure, Diego Nieto Cid, 2024/12/03