> On Tue, Nov 09, 2010 at 09:48:15AM -0600, Aaron Martinez wrote:
>> I am trying to use openbsd as my workstation here at work but one of the
>> tools we use, creates an expect script and it's not working at all.  The
>> developer of the tool uses linux primarily so he's not sure except to
>> tell me that the expect in openbsd doesn't know spawn which I looked and
>> the expect man page is loaded with stuff about spawn.
>>
>> The script I try to run is this:
>> # cat 227254.test
>>
>> #!/usr/local/bin/expect -f
>> set timeout -1
>> spawn -noecho ssh -X -vvv -p 22 -o StrictHostKeyChecking=no -o \
>> UserKnownHostsFile=/dev/null -o GSSAPIAuthentication=no \
>> r...@192.168.0.10
>> interact {
>> \034 exit
>> }
>>
>>
>> Executing this from the command line returns the following:
>>
>> # sh -x 227254.test
>
> When invoked like this, the interpreter is sh, not expect.
>
> --
>
> Will Maier
> http://will.m.aier.us/
>
>


Thanks Will,

silly question, how would then I do a good test?

Thanks.

Aaron

Reply via email to