commit | 9bb0864170ee4cf31c3efed2d96c0ebd0b258c75 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Jan 28 07:29:11 2025 -0800 |
committer | Elliott Hughes <enh@google.com> | Tue Jan 28 07:29:11 2025 -0800 |
tree | 517ef5826a599deab7cc536bcd41748bf182ce88 | |
parent | d597a90b4bf8441b779b1500bed7c7d0dc66a97a [diff] [blame] |
Add POSIX 2024 NSIG_MAX. https://www.austingroupbugs.net/view.php?id=741 Change-Id: I89117528e1ed8ab0f922bfa394fab16003070eab
diff --git a/tests/limits_test.cpp b/tests/limits_test.cpp index bc13a3f..64d9a33 100644 --- a/tests/limits_test.cpp +++ b/tests/limits_test.cpp
@@ -78,3 +78,11 @@ #error ULLONG_MAX #endif } + +TEST(limits, highest_signal_plus_one) { +#if defined(__BIONIC__) + ASSERT_EQ(65, NSIG_MAX); +#endif + ASSERT_EQ(65, NSIG); + ASSERT_EQ(65, _NSIG); +}