zeek/testing/btest/scripts/base/frameworks/input/raw
Jon Siwek 1531980f3d Exec module and raw input reader fixes.
- Do stream mode for commands done by exec module, it seems important
  in some cases (e.g. ensure requested stdin is fully written).

- For cases where the raw input reader knows the child process has been
  reaped, set the childpid member to a sentinel value to indicate such
  so we don't later think we should kill it or wait on it anymore.

- More error checking on dup2/close calls.  Set sentinel values when
  closing ends of pipes to prevent double closing a fd.

- Signal flag not set when raw input reader's child exits as a result
  of a signal.  Left out a test for this -- might be portability issues
  (e.g. Ubuntu seems to do things different regarding the exit code and
  also is printing "Killed" to stderr where other platforms don't).
2013-08-02 17:27:10 -05:00
..
basic.bro A bunch of more changes for the raw reader 2013-03-18 21:49:16 -07:00
execute.bro A bunch of more changes for the raw reader 2013-03-18 21:49:16 -07:00
executestdin.bro Exec module and raw input reader fixes. 2013-08-02 17:27:10 -05:00
executestream.bro A bunch of more changes for the raw reader 2013-03-18 21:49:16 -07:00
long.bro small fixes. 2013-05-27 22:59:27 -07:00
rereadraw.bro A bunch of more changes for the raw reader 2013-03-18 21:49:16 -07:00
stderr.bro fix stderr test. ls behaves differently on errors on linux... 2013-05-27 23:07:37 -07:00
streamraw.bro A bunch of more changes for the raw reader 2013-03-18 21:49:16 -07:00