aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorWainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>2017-04-05 10:28:21 -0300
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>2017-04-05 10:28:41 -0300
commitff65c87443fe628d1e1e0106a5fcafc2104a5d7e (patch)
treefa559d38b01a60e8878418b9d08755546dc4833b /ChangeLog
parent18b6e2c86ce03c9be8ee0a53840fe5d533de22b3 (diff)
downloadglibc-ff65c87443fe628d1e1e0106a5fcafc2104a5d7e.zip
glibc-ff65c87443fe628d1e1e0106a5fcafc2104a5d7e.tar.gz
glibc-ff65c87443fe628d1e1e0106a5fcafc2104a5d7e.tar.bz2
Add page tests to string/test-strnlen.
May be tricky for otimized implementations to handle strings around page boundary once, for instance, it is performed unaligned loads or when maxlen is used as a hint for vectorized loops. The test cases should unveil regression bugs on these cases. To some extend do_random_tests in string/test-strnlen tests strings placed at page end but it does not cover all cases. So this change adds tests which consists of placing strings of varying sizes ending at the page boundary. It also combines with different values of maxlen. Tested on ppc64le and x86_64. * string/test-strnlen.c (do_page_tests): New function to check length of strings ending at the page boundary. (test_main): Added call to the do_page_tests function.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7ee1347..43cb215 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
+
+ * string/test-strnlen.c (do_page_tests): New function
+ to check length of strings ending at the page boundary.
+ (test_main): Added call to the do_page_tests function.
+
+2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
Paul E. Murphy <murphyp@linux.vnet.ibm.com>
* sysdeps/powerpc/powerpc64/multiarch/Makefile