While we already have a CLI testtool that feeds the CLI code with
prerecorded input and checks its output (tests/testcommands),
that one depends on compile-time system support flags.  Its
output thus varies and isn't checkable with a simple diff.

This adds another testtool that just independently adds a few
fixed commands and checks their behaviour.

- tests: add CLI dummy command-exec tool
- tests: add testcli reference in/out & do DejaGNU

NB: this tool depends on all of the previously-posted VTY
patches:
- lib/vty: don't clear output buffer on input EOF
- lib/vty: add vty_stdio at-close hook
- lib/vty: put stdin in raw mode for vty
- lib/vty: add vty_stdio()
- lib/vty: add separate output fd support to VTYs


-David

_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to