get-rusage-as, get-rusage-data tests: Avoid test failure with gcc-4.7.
authorBruno Haible <bruno@clisp.org>
Sat, 4 Feb 2012 11:59:00 +0000 (12:59 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 4 Feb 2012 11:59:00 +0000 (12:59 +0100)
commit4ddd9dd5c80d2058001c9bec68b7f0ef0bc3a56f
tree130a8a67bfc28acb6755c3bb2395c5b3aa92202b
parent802bea9db2f0a9c6a1f3bac3f1d23522d6db1e52
get-rusage-as, get-rusage-data tests: Avoid test failure with gcc-4.7.

* tests/test-get-rusage-as.c (main): Assign the malloc() results to
global variables.
* tests/test-get-rusage-data.c (main): Likewise.
Reported by Jim Meyering.
ChangeLog
tests/test-get-rusage-as.c
tests/test-get-rusage-data.c