Age | Commit message (Collapse) | Author | Files |
|
* Make.am (RUNCAP_SRC): Add read.c
* read.c: New file
* runcap.h (runcap_read): New proto.
* t/rt: Expand read request to include a flag for selecting
* t/read.at: New file.
* t/nocap.at: New file
* t/nocap00.at: Remove.
* t/nocap01.at: Remove.
* t/Makefile.am (TESTSUITE_AT): Add new test. Merge two nocap tests
to one.
* t/testsuite.at: Likewise.
|
|
|
|
* runcap.3: Document changes.
* runcap.c (stream_capture_get): Indicate EOF explicitly by
calling sc_linemon function with 0 as line length.
* t/rt.c (linemon): Update to handle this case.
|
|
* runcap.3: Document changes.
* runcap.c (stream_capture_init): Change signature. Change to static.
(stream_capture_free): Change to static.
(stream_capture_get): Special handling for "no capture" streams with
line monitors.
* runcap.h (stream_capture): New member: sc_nocap.
(RCF_STDOUT_NOCAP)
(RCF_STDERR_NOCAP): New flags.
* t/Makefile.am: Add new tests.
* t/testsuite.at: Likewise.
* t/linemon02.at: Add copyright header.
* t/linemon03.at: New test.
* t/nocap.inc: New include file.
* t/nocap00.at: New test.
* t/nocap01.at: New test.
* t/rt.c: New option: -N
|
|
* runcap.c (stream_capture_get): Consume the last line even if it
is not terminated with a newline.
* t/linemon02.at: New test case.
* t/Makefile.am: Add new test.
* t/testsuite.at: Include new test.
|
|
When given the RCF_STDIN flag, runcap_init failed to initialize
rc_cap[RUNCAP_STDIN].sc_storfd. It remained initialized to 0 which
eventually led to stdin being inadvertenlty closed by runcap_free.
* runcap.c (stream_capture_alloc): Merge with stream_capture_init.
All callers updated.
(runcap_init): Initialize rc_cap[RUNCAP_STDIN].sc_storfd to -1
to prevent it from being closed.
* t/pipe.at: Set 5 seconds timeout.
* t/stdin.at: Likewise.
|
|
|
|
|
|
* .gitignore: Update.
* Makefile: Remove.
* Make.am: New file.
* install.am: New file.
* shared.am: New file.
* static.am: New file.
* configure.ac: New file.
* runcap.m4: New file.
* t/Makefile: Remove.
* t/Makefile.am: New file.
* t/testsuite: Don't use relative directory addressing.
|
|
* Makefile (clean): descend into t as well.
* t/Makefile (clean): New goal.
* runcap.h (runcap_seek): Return off_t.
* seek.c (runcap_seek): Change return value. Fix operation.
* tell.c (runcap_tell): Bugfix.
* t/rt.c: New option -r for testing seek.
* t/08seek.t: New testcase.
* t/09seek.t: New testcase.
|
|
|
|
|
|
* Makefile (distdir,dist,distcheck): New goals.
* t/Makefile (dist): New goal.
* t/06mon.t: New file.
|
|
|
|
|
|
* runcap.c (timeval_after): Fix typo.
* t/rt.c: New file.
|