From 83fd4149ffdae86c8864a6828f39dd942956636f Mon Sep 17 00:00:00 2001 From: Aaron Merey Date: Thu, 19 Sep 2024 11:11:39 -0400 Subject: Test that errno is set to 0 at program startup Add new testcase elf/tst-startup-errno.c which tests that errno is set to 0 at first ELF constructor execution and at the start of the program's main function. Tested for x86_64 Reviewed-by: Carlos O'Donell --- elf/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'elf/Makefile') diff --git a/elf/Makefile b/elf/Makefile index 9ea4baf..09d7709 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -457,6 +457,7 @@ tests += \ tst-single_threaded-pthread \ tst-sonamemove-dlopen \ tst-sonamemove-link \ + tst-startup-errno \ tst-thrlock \ tst-tls-dlinfo \ tst-tls-ie \ -- cgit v1.1