]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix memcheck/tests/memalign_test expected output.
authorMark Wielaard <mark@klomp.org>
Sun, 28 Feb 2016 10:37:55 +0000 (10:37 +0000)
committerMark Wielaard <mark@klomp.org>
Sun, 28 Feb 2016 10:37:55 +0000 (10:37 +0000)
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.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15818

memcheck/tests/memalign_test.c

index e64946280428a9e32abc0de7e8a9af8fa7737001..f7fd8554f2484bb4f2ca37ffb06d81a2f3093e32 100644 (file)
@@ -10,8 +10,7 @@ int main ( void )
   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));