X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-get-rusage-as.c;h=bc1d2e6b895a884d0d8a21f77ffee0ba566dd3af;hb=10302c2e3cd5a04446a4c9fb4ece0beceed30373;hp=7f38e5752c6f620f7e15f8e6daaf61ac70099126;hpb=3e44a8369ff68484ca037028deecb287a49f9d4d;p=gnulib.git diff --git a/tests/test-get-rusage-as.c b/tests/test-get-rusage-as.c index 7f38e5752..bc1d2e6b8 100644 --- a/tests/test-get-rusage-as.c +++ b/tests/test-get-rusage-as.c @@ -1,5 +1,5 @@ /* Test of getter for RLIMIT_AS. - Copyright (C) 2011 Free Software Foundation, Inc. + Copyright (C) 2011-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -23,6 +23,9 @@ #include "macros.h" +void *memchunk1; +void *memchunk2; + int main () { @@ -30,11 +33,11 @@ main () value1 = get_rusage_as (); - malloc (0x88); + memchunk1 = malloc (0x88); value2 = get_rusage_as (); - malloc (0x281237); + memchunk2 = malloc (0x281237); value3 = get_rusage_as ();