#!/usr/bin/env expect would be better :) On Tue, Jul 5, 2011 at 10:58 PM, Kurt Seifried <[email protected]> wrote:
> Would it not make sense to write an expect script to automate this? > (and maybe geet fancy and take arguments/etc.). > > #!/usr/bin/expect -f > set timeout 60 > set env(TERM) > spawn ssh -i yourkey.pem ec2-user@the-server > expect "*ec2-user@ip-*" > send "sudo su -\r" > expect "*root@ip-*" > > etc. > > -Kurt > > On Tue, Jul 5, 2011 at 8:29 AM, Robyn Bergeron <[email protected]> > wrote: > > On 07/02/2011 07:47 AM, Athmane Madjoudj wrote: > >> Hello everyone, > >> > >> I've created draft for F16 on EC2, > >> > https://fedoraproject.org/wiki/User:Athmane/Draft_Test_Day_Cloud_SIG_Fedora_EC2 > >> > >> There's some new stuff that need review, please update fedora-qa ticket > >> #212 [0]: > >> > >> Changes: > >> > >> 'Testing the Images' Section > >> > >> Test cases : > >> > >> - QA:Testcase_Yum_basics > >> - QA:Testcase_rsyslog > >> - QA:Testcase_OpenSSH > >> - MTAs: > >> - QA:Testcase_Sendmail > >> - QA:Testcase_Postfix > >> - QA:Testcase_HTTPd ==> 5 fully automated tests through shell scripts > > Hi Athmane, > > > > Thanks for taking this on! It's very much appreciated. :) > > > > Does this seem like a reasonable list of tests to everyone? Is there > > anything missing which we should consider adding? > > > > Thanks, > > > > -Robyn > >> [0] https://fedorahosted.org/fedora-qa/ticket/212 > >> > > > > _______________________________________________ > > cloud mailing list > > [email protected] > > https://admin.fedoraproject.org/mailman/listinfo/cloud > > > > > > -- > Kurt Seifried > [email protected] > skype: (206) 905-9462 > _______________________________________________ > cloud mailing list > [email protected] > https://admin.fedoraproject.org/mailman/listinfo/cloud > -- the sun shines for all
_______________________________________________ cloud mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/cloud
