ExpectPy test directory
=======================

This is the test package for ExpectPy.  The specific tests are described
below.


Packaged tests
==============

00glob.py
---------
Spawn a who(1), process and print each line; use a while loop.

01send.py
---------
Create an ed(1) session, sending command with the "send" method. This
mixes expect and send together.

02file.py
---------
Open an pipe process, create an unspawned object (from spawnfile) from
it and expect an line.

03cont.py
---------
Spawn a who(1), process and print each line; do not use a while.

04set.py
--------
Verify that the settings object works correctly.

05intact.py
-----------
Write the output of a who(1) to a file using interact.

06pcre.py (conditional)
---------
Same as t_glob.py, but using compiled regular expressions (`re' module).
This test runs only if built with PCRE.

07tclre.py (conditional)
----------
Same as 00glob.py, but using compiled regular expressions (`tclre' module).
This test runs only if built without PCRE and with Tcl.

08cbre.py (conditional)
---------
Same as 00glob.py, but using callbacks with compiled regular expressions.


Building new tests
==================

The testsuite only looks for a truth value in the variable "status" in the
test program's __main__ module.   Standard input, standard output and
standard error are redirected to a single StringIO instance.

