[PATCH] libstdc++: testsuite: fs rename to self may fail

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Jun 22 06:33:57 UTC 2022


On 22/06/2022 08:24, Alexandre Oliva via Libstdc++ wrote:
> rtems6's rename() implementation errors with EEXIST when the rename-to
> filename exists, even when renaming a file to itself or when renaming
> a nonexisting file.  Adjust expectations.
> 
> Regstrapped on x86_64-linux-gnu, also tested with a cross to
> aarch64-rtems6.  Ok to install?
> 
> PS:https://devel.rtems.org/ticket/2169  doesn't seem to suggest plans to
> change behavior so as to comply with POSIX.

I would not adjust the test case to cope with systems which are not in 
line with POSIX. In the past RTEMS used the GCC tests to check that the 
implementation is in line with other systems. The RTEMS ticket is still 
open. There just needs to be someone who thinks this bug is important 
enough to fix.

-- 
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/


More information about the devel mailing list