The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
grep unix.com with google



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Reply
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-25-2009
Registered User
 

Join Date: Sep 2009
Posts: 7
How to neglect the rest of tests if crushing in the middle in Expect/Tcl

hi, everyone:

I am a newbie in Expect/Tcl. I wrote a Expect script to run some diagnostic tests in 2 OS. Basically, It is like:

OS1: test1, test2..........test 10 (script 1)
OS2: test11,................test 20 (script 2)

ideally, it should check all tests in OS1 first, and switch to OS2, do the rest.
now, somehow, one of tests in OS1 crushes, for example, test 4, then I don't need to do the rest of tests in OS1, just switch back to OS2, and continue its tests.

How can I tell the script that I don't need the rest tests in script 1, otherwise, If I only switch back to OS2, it will continue doing the rest tests in script 1.

thanks a lot (any available command, hints)
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Need help with Expect script for Cisco IPS Sensors, Expect sleep and quoting genewolfe Shell Programming and Scripting 1 10-01-2009 12:12 PM
strange expect script behavior, or am i misunderstanding expect scripting? v1k0d3n Shell Programming and Scripting 2 12-10-2008 04:31 PM
How To Neglect Delimiter G.Aavudai Shell Programming and Scripting 4 10-17-2008 09:29 AM
Tests kiwi_bloke Linux Benchmarks 0 08-14-2004 04:27 AM



All times are GMT -4. The time now is 02:02 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0