On Tue, Sep 10, 2013 at 01:25:22AM -0700, Lalit Deshmukh wrote: > i have implemented 50 shell program to test. now i want to run all these > shell program one by one(in short test automation) (once first program > getting executed then next will start). please let me know how to do this? > in UNIX any utility or to run the same.
If you have loops in your shell: (bash example, assumes the test programs are named t1.sh, t2.sh ... t50.sh) for TEST in t*sh do ./$TEST done in Perl, call with names of the test programs. #!/usr/bin/perl use strict; use warnings; foreach my $test (@ARGV) { system "./$test"; } -- Michael Rasmussen, Portland Oregon Be Appropriate && Follow Your Curiosity Other Adventures: http://www.jamhome.us/ or http://gplus.to/MichaelRpdx A special random fortune cookie fortune: It's the HoHo in HoHoHo! -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/