Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS: t/Tools_File.t fails. #1288

Merged
merged 1 commit into from Dec 9, 2021

Conversation

ikedas
Copy link
Member

@ikedas ikedas commented Dec 6, 2021

Version

Sympa 6.2 or later with some platforms (e.g. macOS with Perl prior to 5.32 and LLVM).

Installation method

Source distribution.

Expected behavior

Running make check, tests shouldn't fail.

Actual behavior

With t/Tools_File.t, the test crashes with the message:

Error: The futimes function is unimplemented at t/Tools_File.t line 139.
# Looks like your test exited with 2 just after 19.
t/Tools_File.t ............... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/23 subtests 

Additional information

Some platforms miss or simply don't implement futimes system call so that calling utime() on filehandle may crash.

This bug affects only to the test suite: The runtime code doesn't call utime() in such way.

@ikedas ikedas added the bug label Dec 6, 2021
@ikedas ikedas added this to the 6.2.68 milestone Dec 6, 2021
Note: Some platforms (e.g. macOS with Perl < 5.32) miss or simply don't
implement futimes system call so that calling utime() on filehandle may
crash.
@ikedas ikedas merged commit 005cc70 into sympa-community:sympa-6.2 Dec 9, 2021
@ikedas ikedas deleted the unimplemented_futimes branch December 9, 2021 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant