-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Tests broken with native Windows perl #11350
Comments
SIGUSR1 has been part of POSIX from the beginning. What signals are available in this perl?
|
Maybe I also did something wrong, this is the first time I've set up an MSYS2 development environment in a long time, and the last time I've manually run the tests in MSYS2 was last year. |
For comparison, SIGUSR1 is #10 on Linux, #16 on Solaris, #30 on FreeBSD and
OpenBSD. "NUM10" and "NUM16" are both in your list, which makes it seem like
those are placeholders for a signal that isn't supported on that OS or that
perl version. The SIGUSR1 define has been a part of msys2 for at least 22 years
according to git, but I don't know about perl. I've also just read that Windows
doesn't even support sending signals like I'm using SIGUSR1 for, so maybe an
error setting this signal handler should simply be ignored on Windows.
|
Sounds good to me! |
At least msys2 perl v5.32.1 doesn't seem to define this signal. Since this signal is only used for debugging, just ignore if setting it fails. Reported-by: Marcel Raad Fixes curl#11350 Closes curl#11366
At least msys2 perl v5.32.1 doesn't seem to define this signal. Since this signal is only used for debugging, just ignore if setting it fails. Reported-by: Marcel Raad Fixes curl#11350 Closes curl#11366
I did this
From an MSYS2 shell on Windows:
I expected the following
Successful test run. Instead, I get:
This is with MSYS2's perl used in its MINGW32 shell:
Strangely, the error doesn't appear in the CI.
curl/libcurl version
2fe5241
operating system
Windows 10 (MSYS2)
CC @dfandrich
The text was updated successfully, but these errors were encountered: