![]() |
|
No such thing as a small change | |
PerlMonks |
Re^2: Expect problemsby sunadmn (Curate) |
on Dec 16, 2005 at 14:26 UTC ( #517247=note: print w/replies, xml ) | Need Help?? |
Ok so like I stated in my last post I have it working but for some reason I get it to get beyond the apply stage due to the fact that the next prompt looks the same. Below is a copy of the session when I do this manually: >> Main- /cfg/slb/real 144/ena Current status: disabled New status: enabled >> Real server 144 - apply ------------------------------------------------------------------ Apply complete; don't forget to "save" updated configuration. >> Real server 144 - save Request will first copy the FLASH "active" config to "backup", then overlay FLASH "active" with new config. Confirm saving to FLASH y/n: y New config successfully saved to FLASH. >> Real server 144 - exit So as you can see after the apply at the >> Real server 144 - prompt next I should/want to send "save" but expect get's stuck on the "apply" and wont move on to the next case match so it's almost like the thing goes into a never ending loop. Does anyone know of a way to force it to move on??
SUNADMN USE PERL
In Section
Seekers of Perl Wisdom
|
|