blob: 93d1c3320c148e571c598717a13293bec776b554 (
plain)
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
|
@product
Feature: Doing variations on d-i installs
As a normal user
I should be able to install Debian
@both-ui
Scenario Outline: Install Debian, and boot to a login prompt
Given I install a <target_ui> Debian system, in <install_ui> mode
When I start the computer
Then I should see a <login> Login prompt
Examples:
| install_ui | target_ui | login |
| gui | minimal | VT |
| text | non-GUI | VT |
#| gui | Gnome | Gnome |
#| gui | LXDE | LXDE |
#| gui | XFCE | XFCE |
#| gui | KDE | KDE |
@gui
Scenario Outline: Install Debian, and boot to a login prompt
Given I install a <target_ui> Debian system, in gui mode
When I start the computer
Then I should see a <login> Login prompt
Examples:
| target_ui | login |
| non-GUI | VT |
| XFCE | XFCE |
| KDE | KDE |
@text-ui
Scenario Outline: Install Debian, and boot to a login prompt
Given I install a <target_ui> Debian system, in text mode
When I start the computer
Then I should see a <login> Login prompt
Examples:
| target_ui | login |
| minimal | VT |
| Gnome | Gnome |
| LXDE | LXDE |
@broken
Scenario: Attempt to Install Gnome, expecting it to fail because X doesn't start for some reason
Given I have started Debian Installer in text mode and stopped at the Tasksel prompt
And I intend to use text mode
And I select the Gnome task
And I wait while the bulk of the packages are installed
And I install GRUB
And I allow reboot after the install is complete
And I wait for the reboot
And I power off the computer
And the computer is set to boot from ide drive
When I start the computer
Then I should see a Gnome Login prompt
# Scenario: Get a useful error from a bogus HTTP proxy
# Given I get d-i to the HTTP proxy prompt
# When I set the proxy to "127.23.23.23"
# Then I should get an error message that mentions the proxy
# this is useful for just proving that the d-i image is able to boot
@trivial
Scenario: Minimal Boot test
Given a disk is created for Debian Installer tests
And I intend to use gui mode
When I start the computer
Then I select the install mode
@preseed
Scenario: Preseed using hands.com with checksum
Given a disk is created for Debian Installer tests
And I intend to use gui mode
And I intend to boot with options: auto=true priority=critical wibble.foo=bar url=hands.com classes=jenkins.debian.org/pb10;loc/gb;hands.com/general-tweaks;setup/users;partition/atomic;desktop/lxde hands-off/checksigs=true DEBCONF_DEBUG=5
And I start the computer
And I execute "grep wibble /proc/cmdline"
And I execute "ls /var/lib/register-module"
And I select the install mode
And I expect package installation to start
And I execute "ls /var/lib/register-module"
And I execute "grep wibble /target/etc/modprobe.d/local.conf"
And I wait while the bulk of the packages are installed
And I execute "grep wibble /target/boot/grub/grub.cfg"
And the VM shuts down within 20 minutes
When the computer is set to boot from ide drive
And I start the computer
Then I should see a LXDE Login prompt
@bugtest
Scenario: Preseed using hands.com with checksum
Given a disk is created for Debian Installer tests
And I intend to use gui mode
And I intend to boot with options: wibble.foo=bar fsck.bar=baz
And I start the computer
And I select the install mode
And I select British English
And running "grep wibble /proc/cmdline" succeeds
And running "cat /var/lib/register-module/wibble.params" succeeds
And I accept the hostname, using "example.com" as the domain
And I set the root password to "rootme"
And I set the password for "Philip Hands" to be "verysecret"
And I select full-disk, single-filesystem partitioning
And I note that the Base system is being installed
And I accept the default mirror
And I ignore Popcon
And we reach the Tasksel prompt
And I select the LXDE task
And running "grep wibble /target/etc/modprobe.d/local.conf" succeeds
And running "grep fsck /target/etc/modprobe.d/local.conf" fails
And I wait while the bulk of the packages are installed
And I install GRUB
And running "grep wibble /target/boot/grub/grub.cfg" succeeds
And I allow reboot after the install is complete
And I wait for the reboot
And I power off the computer
And the computer is set to boot from ide drive
When I start the computer
Then I should see a LXDE Login prompt
@debedu
Scenario: Install default Debian-Edu
Given a disk is created for Debian Edu tests
And I intend to use gui mode
And I intend to boot with options: url=hands.com/d-i/bug/edu-plymouth/preseed.cfg
And I start the computer
And I select the install mode
And I select British English
And I select Combi Debian-Edu profile
And I use the Debian-Edu Automatic Partitioning
And I ignore Popcon
And I set the root password to "rootme"
And I set the password for "Philip Hands" to be "verysecret"
And I wait while the partitions are made
And I note that the Base system is being installed
And I wait patiently for the package installation to start
And I wait while the bulk of the packages are installed
And I allow reboot after the install is complete
And I wait for the reboot
And I power off the computer
And the computer is set to boot from ide drive
When I start the computer
Then I should see a VT_Edu Login prompt
|