Commit Graph

12 Commits

Author SHA1 Message Date
christos d4800a215d fix printf format strings 2011-09-15 16:25:17 +00:00
blymn 6f8e29ad78 - Add erase and kill to the terminal attributes so we can test
fetching them
- Remove functions from the input_functions array that don't really do
  input
- Re-enable the reporting of poll events after a function call
- Check that the return_type from the slave matches the expected one
- If verbose then print out the byte streams being compared in
  validate_byte
- When reporting a length mismatch during a byte validation, report
  the actual lengths.
2011-09-15 11:53:12 +00:00
blymn 14cd7a9b79 - Add a delay just after the function is passed to the slave, this
gives the slave time to process the command and produce output before
  the director drains output from the slave.  This is particularly
  important when the slave is set up for timed input because the ioctl
  used by curses to set the tty parameters waits for pending output to
  drain.
- make a debug statement conditional on verbose again
- make a warning about output from the slave conditional on verbose
- fix setting the minimum input delay, it should be milliseconds not
  nanoseconds.
- Handle nanosleep returning early due to a signal, restart the sleep
  with the remaining time.
2011-09-08 10:56:49 +00:00
christos 010ceb7a08 - err -> errx mistakes
- make sure that -v does not change the program behavior
- don't set revents in poll
- add more debugging
- only call read when we have POLLIN
- don't mix I/O from master while processing input
2011-08-29 12:49:37 +00:00
christos 3cb2c388bf Fix enums confusion. 2011-08-18 02:44:45 +00:00
joerg 208082f32c Try to initialize retval to something sensible. 2011-06-18 20:05:56 +00:00
christos 046bfa491c vis'ify the excess byte printing so that xstlproc does not barf. 2011-06-17 16:32:31 +00:00
christos 23bea5092d - pass things in arguments instead of environment
- sanity check arguments
- disable extra data warning, old tests gave it too
- print more detailed errors
- use err/warn more
*some tests still fail; more than they used to*
2011-06-17 02:15:28 +00:00
christos 2a18cea9f4 Turn warns on for all tests and fix all the bugs. 2011-06-11 18:03:17 +00:00
christos 6551109c37 if you don't include the proper include files, you are going to end up
calling functions incorrectly.
2011-05-15 23:56:28 +00:00
blymn da8ae82efe Allow a NULL pointer to be passed as an argument to a call. 2011-04-21 10:23:50 +00:00
blymn bdd37afa3f Add atf for libcurses with some tests 2011-04-10 09:55:08 +00:00