tests: fix warn unused result on asprintf calls
authorFrédéric Bérat <fberat@redhat.com>
Fri, 2 Jun 2023 15:28:06 +0000 (17:28 +0200)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Tue, 6 Jun 2023 12:23:53 +0000 (08:23 -0400)
commit8c4f69d711481a18c70cb9a6c0a5367604894320
tree7dc913567c6c1975b94217c48131fb6b3eb1d98d
parent7d421209287a07db5e926552ae5fbe9d8abb50dc
tests: fix warn unused result on asprintf calls

When enabling _FORTIFY_SOURCE, some functions now lead to warnings when
their result is not checked.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
argp/argp-test.c
posix/tst-execl2.c
posix/tst-execle2.c
posix/tst-execlp2.c
posix/tst-execv2.c
posix/tst-execve2.c
posix/tst-execvp2.c
stdio-common/bug5.c
stdio-common/test-fwrite.c
stdio-common/tst-fseek.c