Updated tests for Fedora pipeline changes

Workaround new hostname behavior.  Also bump timeout to 15 for
consistency.
[rharwood@redhat.com: rewrote commit message]
Merges: #3
This commit is contained in:
Bruno Goncalves 2018-06-15 14:24:33 +02:00 committed by Robbie Harwood
parent ff388043f1
commit 32e71bc9e7

View File

@ -37,12 +37,14 @@ TEST_ENTROPY_SOURCE=${TEST_ENTROPY_SOURCE:-no}
echo TEST_ENTROPY_SOURCE=$TEST_ENTROPY_SOURCE
hostnamectl set-hostname test.fedora.com
echo "`hostname -I` test.fedora.com" >>/etc/hosts
host_ip=`hostname -I | awk '{print$1}'`
echo "$host_ip test.fedora.com" >> /etc/hosts
krb5REALM1='ZMRAZ.COM'
krb5REALM2='PKIS.NET'
krb5HostName=`hostname`
krb5DomainName=`hostname -d`
krb5DomainName='fedora.com'
krb5User='alice'
krb5UserPass='alice'
krb5UserKrbPass='aaa'
@ -217,7 +219,7 @@ _EOF
#!/usr/bin/expect -f
set USER [lindex $argv 0]
set HOST [lindex $argv 1]
set timeout 10
set timeout 15
spawn ssh $USER@$HOST pwd
expect {
-re ".*(yes/no).*" { send -- "yes\r"; exp_continue }