]> git.ipfire.org Git - thirdparty/glibc.git/commit
wordexp: Split out command execution tests from posix/wordexp-test
authorFlorian Weimer <fweimer@redhat.com>
Tue, 8 Oct 2019 11:04:15 +0000 (13:04 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 8 Oct 2019 14:11:13 +0000 (16:11 +0200)
commit32036901707cc86e16b8d9f65bb4686a9bbb0a5c
tree6561e14fbcc02fe5d7d943d721662e2d1eeaaae1
parentca602c1536ce2777f95c07525f3c42d78812e665
wordexp: Split out command execution tests from posix/wordexp-test

Once wordexp switches to posix_spawn, testing for command execution
based on fork handlers will not work anymore.  Therefore, move these
subtests into  a new test, posix/tst-wordexp-nocmd, which uses a
different form of command execution detection, based on PID
namespaces.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
ChangeLog
posix/Makefile
posix/tst-wordexp-nocmd.c [new file with mode: 0644]
posix/wordexp-test.c