disableNtpd: wait 1 second and print out date just to be sure

This commit is contained in:
Bob Lantz
2014-10-01 14:42:43 -07:00
parent 1bae1aab03
commit ded25a9ef8
+3
View File
@@ -491,6 +491,9 @@ def disableNtpd( vm, prompt=Prompt, ntpserver='pool.ntp.org' ):
vm.expect( prompt )
log( '* Setting clock from', ntpserver )
vm.sendline( 'sudo -n ntpdate ' + ntpserver )
vm.expect( prompt )
log( '* Waiting one second and running date command' )
vm.sendline( 'sleep 1 && date ' )
def sanityTest( vm ):