diff options
author | Ben Elliston <bje@gnu.org> | 2004-02-08 03:06:26 +0000 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2004-02-08 03:06:26 +0000 |
commit | 4e05ddfac64e441d4693f72a7e3f0254d02016c6 (patch) | |
tree | d83c5a64121f7dbe368c22abb6ed5cb3d7726b80 /runtest | |
parent | f4c26a04b436e66c8b448fc1ab78a84257fd3e63 (diff) | |
download | dejagnu-4e05ddfac64e441d4693f72a7e3f0254d02016c6.zip dejagnu-4e05ddfac64e441d4693f72a7e3f0254d02016c6.tar.gz dejagnu-4e05ddfac64e441d4693f72a7e3f0254d02016c6.tar.bz2 |
* runtest: Terminate with an error if expect cannot be found.
* TODO: Update.
Diffstat (limited to 'runtest')
-rwxr-xr-x | runtest | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -116,7 +116,12 @@ if [ x"$DEJAGNULIBS" != x ] ; then fi fi if [ x"$runpath" = x ] ; then - echo "ERROR: runtest.exp does not exist." + echo "ERROR: runtest.exp does not exist" + exit 1 +fi + +if ! type $expectbin >/dev/null 2>/dev/null ; then + echo "ERROR: unable to find expect on the PATH" exit 1 fi |