[rtems commit] libcsupport: Implement utimes() in terms of utimensat()

Joel Sherrill joel at rtems.org
Tue Jun 8 15:59:06 UTC 2021


I can reproduce this. I think the test should change. The null file system
operation handlers only set -1 and assume the caller will set errno.

The utime methods which include a stat() or fstat() call depending on the
signature and return ENOENT if that fails. utime() is considered obsolete
but the return code should align with the other methods in the family.

https://pubs.opengroup.org/onlinepubs/9699919799/functions/futimens.html

[ENOENT]A component of *path* does not name an existing file or *path* is
an empty string.
That should be the error being returned now and it seems right. I will
update
the test accordingly.

--joel

On Tue, Jun 8, 2021 at 7:09 AM Joel Sherrill <joel at rtems.org> wrote:

>
>
> On Tue, Jun 8, 2021, 5:11 AM Sebastian Huber <
> sebastian.huber at embedded-brains.de> wrote:
>
>> Hello,
>>
>> one of these commits
>>
>> There are only 'skip'ped commits left to test.
>> The first bad commit could be any of:
>> bb7041230639894a924221ceb454d02c1ea84f66
>> ea881bf7a15721916d4adcc5f117ebf6acc6d2a3
>> 335f7050822262f029e7945b31b0f2bb2d889bcc
>> 6171a88d9c7f90bac9a076edf3655f7c9e2efb94
>> ea41722c92313e884368106832d3454114ba88b3
>> We cannot bisect more!
>>
>> broke this test:
>>
>> *** BEGIN OF TEST FSNOFS 1 ***
>> *** TEST VERSION: 6.0.0.ea41722c92313e884368106832d3454114ba88b3
>> *** TEST STATE: EXPECTED_PASS
>> *** TEST BUILD: RTEMS_DEBUG RTEMS_POSIX_API
>> *** TEST TOOLS: 10.3.1 20210409 (RTEMS 6, RSB
>> 4e6dc6431435821a534da6307e72ecbd7e42b82a, Newlib 0c0f3df)
>> /home/EB/sebastian_h/src/rtems/testsuites/fstests/fsnofs01/init.c: 300
>> errno == ENXIO
>>
>> *** FATAL ***
>> fatal source: 5 (RTEMS_FATAL_SOURCE_EXIT)
>> fatal code: 0 (0x00000000)
>> RTEMS version: 6.0.0.ea41722c92313e884368106832d3454114ba88b3
>> RTEMS tools: 10.3.1 20210409 (RTEMS 6, RSB
>> 4e6dc6431435821a534da6307e72ecbd7e42b82a, Newlib 0c0f3df)
>> executing thread ID: 0x08a010001
>> executing thread name: UI1
>
>
>>
>>
>> Not all commits of the patch set build. This is prevented a proper git
>> bisect.
>>
>
> The toolset has to change at some point.
>
> I'll see if I can reproduce this today
>
> --joel
>
>>
>> --
>> embedded brains GmbH
>> Herr Sebastian HUBER
>> Dornierstr. 4
>> 82178 Puchheim
>> Germany
>> email: sebastian.huber at embedded-brains.de
>> phone: +49-89-18 94 741 - 16
>> fax:   +49-89-18 94 741 - 08
>>
>> Registergericht: Amtsgericht München
>> Registernummer: HRB 157899
>> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
>> Unsere Datenschutzerklärung finden Sie hier:
>> https://embedded-brains.de/datenschutzerklaerung/
>> _______________________________________________
>> devel mailing list
>> devel at rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210608/80561a51/attachment.html>


More information about the devel mailing list