summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2018-01-26Fix ordering of (= x y) redirection EPFPeter Bex
Thanks to Diego "dieggsy" for pointing out this incongruity with scsh-process.
2017-11-18Run signal handler in a separate threadPeter Bex
This seems to be necessary so that condition-variable-broadcast! works when the signal handler is running in the same thread as the waiting thread.
2017-11-10Also unmask (if needed) sigchld in the child process thunkPeter Bex
This would be otherwise kept in masked mode because the thunk is in the dynamic extent of the dynamic-wind.
2017-11-10Don't unmask signal if the signal was already masked before forkingPeter Bex
2017-11-08Add a test case for "annonymous" wait.Jörg Wittenberger
Signed-off-by: Peter Bex <peter@more-magic.net>
2017-05-23chicken-version is not from setup-apiPeter Bex
2015-07-18Fix default output redirections to ignore stderr.Peter Bex
This is what scsh does as well, and is more like a regular UNIX shell. Thanks to Haochi Kiang for reporting the bug and providing a patch.
2013-06-18Support unquote-splicing through a variant of exec-path (reported by Moritz)Peter Bex
2012-11-03Support new process-fork form which can kill all other threads. We still ↵Peter Bex
see some problems occurring
2012-10-06Provide a new 'wait' procedure so we don't need to modify the type of ↵0.3Peter Bex
process-wait, which could lead to trouble in user code when compiled with scrutiny and/or specialization. This procedure returns the values in a different order for ease of use. May be a bit confusing...
2012-10-05Workaround for bug in 4.8.0 when loading scsh-process in compiled mode - it ↵0.2.1Peter Bex
segfaults immediately. TODO: Figure out why
2012-10-05Improve test for <<-redirection by making it less dependent on random ↵Peter Bex
factors that determine process interleaving, ensuring it gets processed through the pipeline rather than on the same descriptor by mangling it through 'tr'. Fix <<-redirection by reopening output port on new descriptor and explicitly setting up the input port to the given fd in the parent process
2012-10-04Use shell arithmetic instead of "bc". It's more portablePeter Bex
2012-10-03Add bookkeeping code for processes so we can get rid of all zombie processesPeter Bex
2012-10-02Add wrapper for tests so we get a good summary at the end; also add trailing ↵Peter Bex
garbage for run/sexp's test
2012-10-02Use implicit quasiquotation inside object-redirection rule tooPeter Bex
2012-10-02Fix run/collecting* and add a testcase for itPeter Bex
2012-10-02Implement <<-redirectionPeter Bex
2012-10-01Implement appending to filesPeter Bex
2012-10-01Fix run/port* so it doesn't replace the input port when in the REPL. ↵Peter Bex
Unfortunately, no test for it
2012-10-01Implement run/file*, which is really weirdPeter Bex
2012-10-01Some restructuring of the test groupingsPeter Bex
2012-10-01Mistake: the fork should automatically exit, the user shouldn't need to do thisPeter Bex
2012-10-01Implement && and || (which is a bit of a hack in Chicken considering it's ↵Peter Bex
the empty symbol)
2012-10-01Rename test directory to tests (thanks Moritz!)Peter Bex