Open djzhh opened 8 months ago
This should only be skipped if the current directory is under /afs
, right? Something along the lines of
skip "Can't write readonly files" if $Config{afs} eq "true" and Cwd::getcwd =~ /^\Q$Config{afsroot}\E/;
All AFS cells I know of are starting with /afs
, so this looks an appropriate condition to me.
Mkbootstrap.t
fails when Perl is compiled within AFS filesystem (perl-5.38.2 and perl-5.36.3) but works fine within the local filesystem:Snippet of test:
The test must fail as there is no such thing as file-based ACLs in AFS; see https://docs.openafs.org/UserGuide/HDRWQ46.html Instead ACLs are set on directories. As AFS is not that common, so below you'll find an example. Anyhow,
./Configure
detects AFS and displays a notice"AFS may be running... I'll be extra cautious then..."
I am not familiar with Perl tests, but anyhow propose this patch: