3
requires: device.category == 'CDROM'
4
estimated_duration: 1.2
5
_description: Test to detect the optical drives
7
cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=CDROM"' | sed '/^$/d'
14
device.category == 'CDROM'
15
_description: Optical read test.
17
cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=CDROM"'
18
plugin: user-interact-verify
19
id: optical/read_`ls /sys$path/block`
20
requires: device.path == "$path"
21
estimated_duration: 120.0
23
command: optical_read_test /dev/`ls /sys$path/block`
26
This test will check your $product device's ability to read CD media
28
1. Insert appropriate non-blank media into your optical drive(s). Movie and Audio Disks may not work. Self-created data disks have the greatest chance of working.
29
2. If a file browser window opens, you can safely close or ignore that window.
30
3. Click "Test" to begin the test.
32
This test should automatically select "Yes" if it passes, "No" if it fails.
36
id: optical/read-automated
38
device.category == 'CDROM'
39
_description: Automated optical read test.
41
cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=CDROM"'
43
id: optical/read-automated_`ls /sys$path/block`
44
estimated_duration: 120.0
45
requires: device.path == "$path"
47
command: optical_read_test /dev/`ls /sys$path/block`
49
This is an automated version of optical/read. It assumes you have already inserted a data CD into your optical drive prior to running Checkbox.
53
id: optical/cdrom-write
55
device.category == 'CDROM'
56
_description: CD write test.
58
cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=CDROM"'
59
plugin: user-interact-verify
60
id: optical/cdrom-write_`ls /sys$path/block`
61
estimated_duration: 120.0
63
device.path == "$path"
64
optical_drive_`ls /sys$path/block`.cd_write == 'supported'
66
command: set -o pipefail; optical_write_test /dev/`ls /sys$path/block` cd | ansi_parser
69
This test will check your system's $product CD writing capabilities. This test requires a blank CD-R or CD+R.
71
Skip this test if you do not have a blank CD disk.
72
1. Insert a blank CD-R or CD+R into your drive
73
2. Click "Test" to begin.
74
3. When the CD tray ejects the media after burning, close it (DO NOT remove the disk, it is needed for the second portion of the test). Note, you must close the drive within 5 minutes or the test will time out.
76
This test should automatically select "Yes" if it passes, "No" if it fails.
80
id: optical/cdrom-write-automated
82
device.category == 'CDROM'
83
_description: Automated CD write test
85
cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=CDROM"'
87
id: optical/cdrom-write-automated_`ls /sys$path/block`
88
estimated_duration: 120.0
90
device.path == "$path"
91
optical_drive_`ls /sys$path/block`.cd_write == 'supported'
93
command: set -o pipefail; optical_write_test /dev/`ls /sys$path/block` cd | ansi_parser
95
This is an automated version of optical/cdrom-write. It assumes you have already inserted a data CD into your optical drive prior to running Checkbox.
99
id: optical/cdrom-audio-playback
100
depends: optical/read
101
estimated_duration: 120.0
104
This test will check your CD audio playback capabilities
106
1. Insert an audio CD in your optical drive
107
2. When prompted, launch the Music Player
108
3. Locate the CD in the display of the Music Player
109
4. Select the CD in the Music Player
110
5. Click the Play button to listen to the music on the CD
111
6. Stop playing after some time
112
7. Right click on the CD icon and select "Eject Disc"
113
8. The CD should be ejected
114
9. Close the Music Player
116
Did all the steps work?
119
id: optical/dvd-write
121
device.category == 'CDROM'
122
_description: DVD write test.
124
cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=CDROM"'
125
plugin: user-interact-verify
126
id: optical/dvd-write_`ls /sys$path/block`
128
device.path == "$path"
129
optical_drive_`ls /sys$path/block`.dvd_write == 'supported'
130
estimated_duration: 120.0
132
command: set -o pipefail; optical_write_test /dev/`ls /sys$path/block` dvd | ansi_parser
135
This test will check your system's $product writing capabilities. This test requires a blank DVD-R or DVD+R.
137
Skip this test if you do not have a blank DVD disk.
138
1. Enter a blank DVD-R or DVD+R into your drive
139
2. Click "Test" to begin.
140
3. When the CD tray ejects the media after burning, close it (DO NOT remove the disk, it is needed for the second portion of the test). Note, you must close the drive within 5 minutes or the test will time out.
142
This test should automatically select "Yes" if it passes, "No" if it fails.
146
id: optical/dvd-write-automated
148
device.category == 'CDROM'
149
_description: Automated DVD write test.
151
cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=CDROM"'
153
id: optical/dvd-write-automated_`ls /sys$path/block`
154
estimated_duration: 120.0
156
device.path == "$path"
157
optical_drive_`ls /sys$path/block`.dvd_write == 'supported'
159
command: set -o pipefail; optical_write_test /dev/`ls /sys$path/block` dvd | ansi_parser
161
This is an automated version of optical/dvd-write. It assumes you have already inserted a data DVD into your optical drive prior to running Checkbox.
164
plugin: user-interact-verify
165
id: optical/dvd_playback
166
command: totem /media/cdrom
167
estimated_duration: 120.0
169
device.category == 'CDROM'
170
package.name == 'totem'
173
This test will check your DVD playback capabilities
175
1. Insert a DVD that contains any movie in your optical drive
176
2. Click "Test" to play the DVD in Totem
181
id: optical/bluray-read
182
requires: device.category == 'CDROM'
183
_description: Automated Blu-Ray read test.
185
cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=CDROM"'
186
plugin: user-interact
187
id: optical/bluray-read_`ls /sys$path/block`
188
estimated_duration: 120.0
190
device.path == "$path"
191
optical_drive_`ls /sys$path/block`.bd_read == "supported"
193
command: optical_read_test /dev/`ls /sys$path/block`
194
estimated_duration: 10.00
197
This test will check your $product device's ability to read Blu-Ray (BD) media
199
1. Insert appropriate non-blank media into your Blu-Ray drive. Movie and Audio Disks may not work. Self-created data disks have the greatest chance of working.
200
2. If a file browser window opens, you can safely close or ignore that window.
201
3. Click "Test" to begin the test.
203
This test should automatically select "Yes" if it passes, "No" if it fails.
207
id: optical/bluray-write
208
requires: device.category == 'CDROM'
209
_description: Automated Blu-Ray write test.
211
cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=CDROM"'
212
plugin: user-interact
213
id: optical/bluray-write_`ls /sys$path/block`
215
device.path == "$path"
216
optical_drive_`ls /sys$path/block`.bd_write == "supported"
217
package.name == "growisofs"
219
command: set -o pipefail; optical_write_test /dev/`ls /sys$path/block` bd | ansi_parser
220
estimated_duration: 120.00
223
This test will check your $product device's ability to write Blu-Ray (BD) media
225
Skip this test if you do not have a blank BD-R disc
226
1. Insert appropriate writable media into your Blu-Ray drive.
227
2. Click "Test" to begin the test.
229
This test should automatically select "Yes" if it passes, "No" if it fails.