Commit graph

22 commits

Author SHA1 Message Date
Marius Gerbershagen
02ef05479c ext:run-program: support unicode characters for the process name, arguments and environment
The encoding is determined by ext:*default-external-format* as usual.
2023-02-26 17:03:09 +01:00
Eric Timmons
bad77f4915
Improve PROCESS-ENVIRON tests
(ext:run-program "env" nil :environ '("foo=bar")) actually exits with non-zero
status because 1) PATH is not specified in the child process and even if it
were 2) the use of :ENVIRON prevents ECL from searching the PATH for child
programs.

Rewrite the tests to actually highlight the failure.
2022-05-20 14:11:10 -04:00
Eric Timmons
6cbec9fe2b Add a failing test for run-program :wait nil
In this test, the EOF on the virtual input stream to the process is not
propagated to the child process, resulting in the test hanging.
2020-06-26 13:07:26 -04:00
Daniel Kochmański
cb269ce407 tests: run-program: add some conditionals for cygwin 2019-12-05 12:01:07 +01:00
Daniel Kochmanski
e329d5bb49 tests: fix test for non-thread builds 2017-10-09 09:47:50 +02:00
Daniel Kochmanski
3c4e374feb tests: run-program: enable tests for virtual streams 2017-10-09 09:36:02 +02:00
Daniel Kochmanski
fff97049ff environ: add regression tests
Fixes #298.
2017-09-05 20:35:44 +02:00
Daniel Kochmanski
c6b2fb658e tests: add regression test for run-program
Dummy one checking if external-process-status simply finishes.
2017-07-21 15:39:43 +02:00
Daniel Kochmański
925196c453 signals: remove sigchld handling
It caused races with waitpid previously masked by fast code in
unixsys.d.
2017-03-23 15:43:59 +01:00
Daniel Kochmanski
bc9b33168c test: sigchld-handler: adjust for cygwin 2017-03-20 22:15:42 +01:00
Daniel Kochmański
135a43a027 tests: run-program: add status-hook tests 2017-03-20 21:05:13 +01:00
Daniel Kochmanski
d6c8fec000 tests: run-program: test more stream cases 2017-03-19 21:28:32 +01:00
Daniel Kochmański
7a76c928f3 run-program: tests: fix typo 2017-03-18 09:52:22 +01:00
Daniel Kochmanski
1651219474 tests: run-program: windows: fix terminate answers 2017-03-17 12:21:21 +01:00
Daniel Kochmanski
716ab71010 windows: fix make check 2017-03-17 11:53:52 +01:00
Daniel Kochmański
4256ac7e2b tests: run-program: add test for escape-arguents (windows) 2017-03-17 09:37:08 +01:00
Daniel Kochmański
656696e62a tests: run-program: add test for various values for streams 2017-03-17 09:32:03 +01:00
Daniel Kochmański
58a705cf69 Revert "tests: adjust to windows"
This reverts commit 7a16333f4a.
2017-02-21 07:42:48 +01:00
Daniel Kochmański
7a16333f4a tests: adjust to windows 2017-02-20 17:43:37 +01:00
Daniel Kochmański
6733369ea0 run-program: refine tests 2017-02-20 15:53:56 +01:00
Daniel Kochmański
8e537800d8 cosmetic 2017-02-20 15:26:50 +01:00
Daniel Kochmański
ccacf11cbc run-program: add preliminary test suite 2017-02-20 15:22:41 +01:00