summaryrefslogtreecommitdiffstats
path: root/tools/regression/lib/libc/gen/test-wordexp.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r280830: wordexp(): Add testcase for non-default IFS in environment.jilles2015-04-191-0/+15
| | | | The non-default IFS is expected to be used.
* wordexp(): Fix syntax validation for backslashes in single-quotes.jilles2013-07-231-0/+12
|
* wordexp(): Remove wrong IFS usage.jilles2013-04-011-0/+19
| | | | | | | | | | | Words in shell script are separated by spaces or tabs independent of the value of IFS. The value of IFS is only relevant for the result of substitutions. Therefore, there should be a space between 'wordexp' and the words to be expanded, not an IFS character. Paranoia might dictate that the shell ignore IFS from the environment (even though our sh currently uses it), so do not depend on it in the new test case.
* wordexp(3): fix some bugs with signals and long outputsjilles2009-10-231-0/+42
| | | | | | | | | | | | * retry various system calls on EINTR * retry the rest after a short read (common if there is more than about 1K of output) * block SIGCHLD like system(3) does (note that this does not and cannot work fully in threaded programs, they will need to be careful with wait functions) PR: 90580 MFC after: 1 month
* Fix an amusing typo that has prevented this from compiling since 2004.das2007-12-161-7/+7
|
* Add a regression test for wordexp() and wordfree().tjr2003-01-041-0/+174
OpenPOWER on IntegriCloud