public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/112529] New: ACATS test c250002 uses illegal filename on APFS filesystem
@ 2023-11-14 17:07 simon at pushface dot org
2023-11-14 17:52 ` [Bug testsuite/112529] " ebotcazou at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: simon at pushface dot org @ 2023-11-14 17:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112529
Bug ID: 112529
Summary: ACATS test c250002 uses illegal filename on APFS
filesystem
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: simon at pushface dot org
Target Milestone: ---
This test checks that characters in Latin-1 above ASCII.Del can be used
in identifiers, character literals and strings. Some of the identifiers
are package names, so when the source is "gnatchopped' they become
filenames.
In Apple's HFS+, although filesystem naming is UTF-8 (well, Apple's
version), attempts to create files with Latin-1 names are allowed by
silent name conversion: for example, given the filename c250002_á.ads,
what is stored is c250002_%E1.ads.
In Apple's current APFS, however, this attempt results in failure:
$ gnatchop c250002.aw
splitting c250002.aw into:
c250002_0.ads
cannot create c250002_?.ads
cannot create c250002_?.adb
c250002.adb
It would perhaps be ideal to report this test as 'unsupported' if run
on macOS, but this could be challenging given the rather ad-hoc nature
of the scripts involved. Just not running the test at all wouldn't be
right, since it runs OK on other operating systems.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-14 17:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-14 17:07 [Bug testsuite/112529] New: ACATS test c250002 uses illegal filename on APFS filesystem simon at pushface dot org
2023-11-14 17:52 ` [Bug testsuite/112529] " ebotcazou at gcc dot gnu.org
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).