Expect lite
Details
| Last Update: | 2008-01-26 23:01:13 |
| Version: | Expect-lite 3.0. |
| License/Program Type: | BSD License |
| Publisher: | Freescale Semiconductor, Inc. |
| Price: | $0.00 |
Description:
Expect-lite is a wrapper for expect, created to make expect
programming even easier. The wrapper permits the creation of expect
script command files by using special character(s) at the beginning
of each line to indicate the expect-lite action.
Basic expect-lite scripts can be created by simply cutting and
pasting text from a terminal window into a script, and adding
'>' '
Here are some key features of "Expect
lite":
· Automatic login to remote host (supporting telnet, ssh
with password, and ssh with keys)
· Simplicity using one character for send and expect
'>' '<'
· This creates many lines of expect with minimal
"code"
· Regular expression (regex) evaluation in expected
results
· Static and Dynamic Variables
· Constants, passed on the command line which override
variables in the script
· Leverages Bash shell
· Include mechanism to read other script files
(sourcing)
· Embedded Expect - using native expect embedded in an
expect-lite script
· Not Expect - a feature to look for unexpected
text/strings
· Conditional Branching a if/then/else with a c-like
syntax
Limitations:
· Expect-lite is limited to what a person could do in
one (1) terminal window (or xterm). It cannot start a program in
one window and run a different program in a separate window.
Therefore it does not currently support multiple sessions. Using
the Linux 'screen' command can assist in working around this
limitation (see examples).
· Standard programming constructs such as looping and
branching are not supported. Real Expect can do these things and
more. That said, looping and branching can be used via shell
mechanisms, bringing some of this functionality to expect-lite (see
Expect-lite and Bash).
· Expect-lite has been purposely limited to keep scripts
simple, easy to use and maintain. Although more complex scripts can
be created, basic expect-lite scripts can be created by simply
cutting and pasting text from a terminal window into a script and
adding '>' '<' characters.
What's New in This Release:
· This release fixes a bug where line 2 of the script
was not interpreted.
· A random example (test_expect_random.txt) shows how to
add randomness to a test (and recreate the test with $seed).
0 comments
Add to
Expect lite Version History
Related Software
|
|
From category: Libraries |
| Festival::Client::Async 0.0303 is libraries software developed by David Huggins-Daines. Festival::Client::Async is a non-blocking interface to a Festival server. SYNOPSIS use Festiv... |
|
|
From category: Libraries |
| cstring is a small and simple C library for the definition and manipulation of expandable C-style strings.... |
|
|
From category: Libraries |
| Audio::Ecasound 0.91 is libraries software developed by Brad Bowman. Audio::Ecasound is a Perl binding to the ecasound sampler, recorder, fx-processor. SYNOPSIS One function interface: \... |
|
|
From category: Assembler-Tools |
| ECForms 0.2 is assembler tools software developed by Francisco Castrillo. ECF is a framework developed to build web applications in an easy way. ECForms goals can be enumerated as follows: H... |
|
|
From category: Libraries |
| LibDsk is a library that attempts to create uniform functions for accessing floppy drives.... |
|
|
From category: Libraries |
| DateTime::Format::Excel 0.2901 is libraries software developed by Iain Truskett. DateTime::Format::Excel is a Perl module that can convert between DateTime and Excel dates. SYNOPSIS... |
|
|
From category: Libraries |
| File::RdistByRsync 0.3 is libraries software developed by David Muir Sharnoff. File::RdistByRsync is a Perl module that can read rdist distfiles, emulate using rsync. SYNOPSIS... |
|
|
From category: Libraries |
| DBIx::SQL::Abstract 0.07 is libraries software developed by Alejandro Juarez. DBIx::SQL::Abstract is a Perl module that provides a convenient abstraction layer to a database. SYNOPSIS \... |
|
|
From category: Libraries |
| PHK is a PHP-oriented package system.... |
|
|
From category: Localization |
| Archetypes 1.3.6 RC1 is localization software developed by Sidnei da Silva. Archetypes project is a framework for developing new content types in Plone. The power of Archetypes is first in a... |
|
|
From category: Libraries |
| DateTime::Format::Epoch::MacOS 0.10 is libraries software developed by Eugene van der Pijli. DateTime::Format::Epoch::MacOS is a Perl module that can convert DateTimes to/from Mac OS epoch seconds.... |
|
|
From category: Libraries |
| cache4j 0.4 is libraries software developed by Yuriy Stepovoy. cache4j library is a cache for Java objects with a simple API and fast implementation. It features in-memory caching, a design for a m... |
|
|
From category: Assembler-Tools |
| Autoconf 2.61 is assembler tools software developed by Free Software Foundation, Inc.. Autoconf project is an extensible package of m4 macros that produce shell scripts to automatically configure s... |
|
|
From category: Perl-Modules |
| Lingua::Zompist::Kebreni is a Perl module to inflect Kebreni verbs.... |
|
|
From category: Libraries |
| AntTweakBar 1.03 is libraries software developed by AntTweakBar Team. AntTweakBar allows programmers to quickly add a light and intuitive graphical user interface into graphic programs to interacti... |
Leave a comment