disableNtpd: wait 1 second and print out date just to be sure
This commit is contained in:
@@ -491,6 +491,9 @@ def disableNtpd( vm, prompt=Prompt, ntpserver='pool.ntp.org' ):
|
|||||||
vm.expect( prompt )
|
vm.expect( prompt )
|
||||||
log( '* Setting clock from', ntpserver )
|
log( '* Setting clock from', ntpserver )
|
||||||
vm.sendline( 'sudo -n ntpdate ' + 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 ):
|
def sanityTest( vm ):
|
||||||
|
|||||||
Reference in New Issue
Block a user