Properly run tst-spawn5 directly [BZ #28067]
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 9 Jul 2021 12:57:51 +0000 (05:57 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 9 Jul 2021 13:37:51 +0000 (06:37 -0700)
commit0ec97597c859ac6a69733cf70c6bd6fc809dcc4b
tree3dc6bee014867965487f5d2311b1ca79e1ccc51d
parent1e5235c5618b60fb196afb292ea88578577e8bc5
Properly run tst-spawn5 directly [BZ #28067]

Change tst-spawn5.c to handle tst-spawn5 without optional path to ld.so,
--library-path nor the library path when glibc is configured with
--enable-hardcoded-path-in-tests.  This fixes BZ #28067.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
posix/tst-spawn5.c