File: test_netbsd_arc_install.expect

package info (click to toggle)
gxemul 0.7.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 12,152 kB
  • sloc: ansic: 111,065; sh: 972; exp: 354; makefile: 118
file content (61 lines) | stat: -rwxr-xr-x 1,132 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/local/bin/expect

set timeout 4000
spawn ./gxemul -e pica -q -d nbsd_arc.img -d bc:../../emul/mips/arccd-5.0.iso ../../emul/mips/netbsd-arc-5.0-RAMDISK.gz

expect "Terminal type"
send "vt100\r"
expect "(I)nstall"
send "i\r"
expect "a: Install NetBSD to"
send "\r"
expect "b: Yes"
send "b\r"
expect "Hit enter to continue"
send "\r"
expect "a: Full installation"
send "\r"
expect "sectors"
send "\r"
expect "heads"
send "\r"
expect "b: Use the entire disk"
send "b\r"
expect "a: Set sizes of NetBSD partitions"
send "\r"
expect "Accept partition sizes"
send " \r"
expect "x: Partition sizes ok"
send "\r"
expect "Please enter a name for"
send "\r"
expect "b: Yes"
send "b\r"
expect "a: Progress bar"
send "\r"
expect "a: CD-ROM"
send "\r"
expect "x: Continue"
send "x\r"
expect "Hit enter to continue"
send "\r"

expect "Hit enter to continue"
send "\r"
expect "Press 'x' followed by RETURN to quit"
send "x\r"
expect "a: DES"
send "\r"
expect "b: No"
send "b\r"
expect "a: /bin/sh"
send "\r"
expect "Hit enter to continue"
send "\r"
expect "Hit enter to continue"
send "\r"
expect "d: Reboot the computer"
send "d\r"

close