]> piware.de Git - bin.git/blob - f25-update.exp
retry-gh-systemd-test: Run biebl/meson branch for s390x
[bin.git] / f25-update.exp
1 #!/usr/bin/expect -f
2
3 set timeout -1
4
5 #Start the guest VM
6 spawn vm /srv/vm/f25.img -nographic
7
8 expect "login: "
9 send "a\r"
10
11 expect "Password: "
12 send "a\r"
13
14 expect "$ "
15 send "echo a | sudo --stdin dnf update -y\r"
16
17 expect "$ "
18 send "echo a | sudo --stdin poweroff\r"
19
20 expect "$ "