tests/tcg: Test that sigreturn() does not corrupt the signal mask
v2 cover tests/tcg: Test that sigreturn() does not corrupt the signal mask
v1: https://lore.kernel.org/qemu-devel/[email protected]/
v1 -> v2: Drop patch 1, since it's merged.
Add -pthread to the test (Richard).
Hi,
I noticed that while the sigreturn fix was merged, the test wasn't. Richard noticed that -pthread was missing, so I'm resending the test with this issue fixed.
Best regards,
Ilya
Ilya Leoshkevich (1):
tests/tcg: Test that sigreturn() does not corrupt the signal mask
tests/tcg/multiarch/Makefile.target | 3 ++ tests/tcg/multiarch/sigreturn-sigmask.c | 51 +++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 tests/tcg/multiarch/sigreturn-sigmask.c
Signature · 1 line
2.47.0
PATCH v2 1/1 tests/tcg: Test that sigreturn() does not corrupt the signal mask
Add a small test to prevent regressions.
--- tests/tcg/multiarch/Makefile.target | 3 ++ tests/tcg/multiarch/sigreturn-sigmask.c | 51 +++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 tests/tcg/multiarch/sigreturn-sigmask.c
tests/tcg/multiarch/Makefile.target +3 -0
@@ -42,6 +42,9 @@ munmap-pthread: LDFLAGS+=-pthread vma-pthread: CFLAGS+=-pthread vma-pthread: LDFLAGS+=-pthread +sigreturn-sigmask: CFLAGS+=-pthread +sigreturn-sigmask: LDFLAGS+=-pthread + # The vma-pthread seems very sensitive on gitlab and we currently # don't know if its exposing a real bug or the test is flaky. ifneq ($(GITLAB_CI),)
tests/tcg/multiarch/sigreturn-sigmask.c new file +51 -0
51 lines not on this page · raw message
Signature · 1 line
2.47.0
Richard Henderson
AppliedQuoted 15 lines · Ilya Leoshkevich
v1: https://lore.kernel.org/qemu-devel/[email protected]/
v1 -> v2: Drop patch 1, since it's merged.
Add -pthread to the test (Richard).Hi,
I noticed that while the sigreturn fix was merged, the test wasn't. Richard noticed that -pthread was missing, so I'm resending the test with this issue fixed.
Best regards,
Ilya
Quoted 8 lines
Ilya Leoshkevich (1):
tests/tcg: Test thatsigreturn()does not corrupt the signal masktests/tcg/multiarch/Makefile.target | 3 ++ tests/tcg/multiarch/sigreturn-sigmask.c | 51 +++++++++++++++++++++++++ 2 files changed, 54 insertions(+)create mode 100644
tests/tcg/multiarch/sigreturn-sigmask.c
Queued, thanks.
r~