diff options
author | Aaron Merey <amerey@redhat.com> | 2024-09-19 11:11:39 -0400 |
---|---|---|
committer | Aaron Merey <amerey@redhat.com> | 2024-09-20 15:49:36 -0400 |
commit | 83fd4149ffdae86c8864a6828f39dd942956636f (patch) | |
tree | cd3b74a188ddae5800b8d8ea7394d37930840af2 /elf/Makefile | |
parent | 35dc62de3d5d73a91d4ca8fa9799b510a34d170d (diff) | |
download | glibc-83fd4149ffdae86c8864a6828f39dd942956636f.zip glibc-83fd4149ffdae86c8864a6828f39dd942956636f.tar.gz glibc-83fd4149ffdae86c8864a6828f39dd942956636f.tar.bz2 |
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 <carlos@redhat.com>
Diffstat (limited to 'elf/Makefile')
-rw-r--r-- | elf/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
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 \ |