|
From: <sv...@va...> - 2016-02-28 10:38:04
|
Author: mjw
Date: Sun Feb 28 10:37:55 2016
New Revision: 15818
Log:
Fix memcheck/tests/memalign_test expected output.
r15815 "Allow 8k and 32k page sizes" added an extra line in memalign_test.c.
This changed the line numbers in the output compared to the .exp file.
Just put everything on one (long) line to match expectations again.
Modified:
trunk/memcheck/tests/memalign_test.c
Modified: trunk/memcheck/tests/memalign_test.c
==============================================================================
--- trunk/memcheck/tests/memalign_test.c (original)
+++ trunk/memcheck/tests/memalign_test.c Sun Feb 28 10:37:55 2016
@@ -10,8 +10,7 @@
int i;
unsigned long pszB = sysconf(_SC_PAGE_SIZE);
assert(sizeof(long) == sizeof(void*));
- assert(pszB == 4096 || pszB == 8192 || pszB == 16384 || pszB == 32768
- || pszB == 65536);
+ assert(pszB == 4096 || pszB == 8192 || pszB == 16384 || pszB == 32768 || pszB == 65536); /* All on one line to match linenumbers in the .exp file. */
for (i = 0; i < 10; i++) {
a[i] = valloc(11111 * (i+1));
|