~ubuntu-branches/ubuntu/trusty/plainbox-provider-checkbox/trusty

« back to all changes in this revision

Viewing changes to jobs/optical.txt.in

  • Committer: Package Import Robot
  • Author(s): Zygmunt Krynicki
  • Date: 2014-04-07 19:00:31 UTC
  • mfrom: (3.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20140407190031-rf836grml6oilfyt
Tags: 0.4-1
* New upstream release. List of bugfixes:
  https://launchpad.net/plainbox-provider-checkbox/14.04/0.4
* debian/watch: look for new releases on launchpad
* debian/rules: stop using pybuild and use manage.py
  {i18n,build,install,validate} instead. This also drops dependency on
  python3-distutils-extra and replaces that with intltool
* debian/control: drop X-Python3-Version
* debian/control: make plainbox-provider-checkbox depend on python and
  python2.7 (for some scripts) rather than suggesting them.
* debian/upstream/signing-key.asc: Use armoured gpg keys to avoid having to
  keep binary files in Debian packaging. Also, replace that with my key
  since I made the 0.3 release upstream.
* debian/source/lintian-overrides: add an override for warning about no
  source for flash movie with reference to a bug report that discusses that
  issue.
* debian/source/include-binaries: drop (no longer needed)
* debian/patches: drop (no longer needed)
* debian/plainbox-provider-checkbox.lintian-overrides: drop (no longer
  needed)
* Stop being a python3 module, move to from DPMT to PAPT

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
plugin: shell
 
2
id: optical/detect
 
3
requires: device.category == 'CDROM'
 
4
estimated_duration: 1.2
 
5
_description: Test to detect the optical drives
 
6
command:
 
7
 cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=CDROM"' | sed '/^$/d'
 
8
 $vendor $product
 
9
 EOF
 
10
 
 
11
plugin: local
 
12
id: optical/read
 
13
requires:
 
14
 device.category == 'CDROM'
 
15
_description: Optical read test.
 
16
command:
 
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
 
22
 user: root
 
23
 command: optical_read_test /dev/`ls /sys$path/block`
 
24
 description:
 
25
  PURPOSE:
 
26
      This test will check your $product device's ability to read CD media
 
27
  STEPS:
 
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.
 
31
  VERIFICATION:
 
32
      This test should automatically select "Yes" if it passes, "No" if it fails.
 
33
 EOF
 
34
 
 
35
plugin: local
 
36
id: optical/read-automated
 
37
requires:
 
38
 device.category == 'CDROM'
 
39
_description: Automated optical read test.
 
40
command:
 
41
 cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=CDROM"'
 
42
 plugin: shell
 
43
 id: optical/read-automated_`ls /sys$path/block`
 
44
 estimated_duration: 120.0
 
45
 requires: device.path == "$path"
 
46
 user: root
 
47
 command: optical_read_test /dev/`ls /sys$path/block`
 
48
 description:
 
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.
 
50
 EOF
 
51
 
 
52
plugin: local
 
53
id: optical/cdrom-write
 
54
requires:
 
55
 device.category == 'CDROM'
 
56
_description: CD write test.
 
57
command:
 
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
 
62
 requires: 
 
63
  device.path == "$path"
 
64
  optical_drive_`ls /sys$path/block`.cd_write == 'supported'
 
65
 user: root
 
66
 command: set -o pipefail; optical_write_test /dev/`ls /sys$path/block` cd | ansi_parser
 
67
 description:
 
68
  PURPOSE:
 
69
      This test will check your system's $product CD writing capabilities. This test requires a blank CD-R or CD+R.
 
70
  STEPS:
 
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.
 
75
  VERIFICATION:
 
76
      This test should automatically select "Yes" if it passes, "No" if it fails.
 
77
 EOF
 
78
 
 
79
plugin: local
 
80
id: optical/cdrom-write-automated
 
81
requires:
 
82
 device.category == 'CDROM'
 
83
_description: Automated CD write test
 
84
command:
 
85
 cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=CDROM"'
 
86
 plugin: shell
 
87
 id: optical/cdrom-write-automated_`ls /sys$path/block`
 
88
 estimated_duration: 120.0
 
89
 requires: 
 
90
  device.path == "$path"
 
91
  optical_drive_`ls /sys$path/block`.cd_write == 'supported'
 
92
 user: root
 
93
 command: set -o pipefail; optical_write_test /dev/`ls /sys$path/block` cd | ansi_parser
 
94
 description:
 
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.
 
96
 EOF
 
97
 
 
98
plugin: manual
 
99
id: optical/cdrom-audio-playback
 
100
depends: optical/read
 
101
estimated_duration: 120.0
 
102
_description:
 
103
 PURPOSE:
 
104
     This test will check your CD audio playback capabilities
 
105
 STEPS:
 
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
 
115
 VERIFICATION:
 
116
     Did all the steps work?
 
117
 
 
118
plugin: local
 
119
id: optical/dvd-write
 
120
requires:
 
121
 device.category == 'CDROM'
 
122
_description: DVD write test.
 
123
command:
 
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`
 
127
 requires: 
 
128
  device.path == "$path"
 
129
  optical_drive_`ls /sys$path/block`.dvd_write == 'supported'
 
130
 estimated_duration: 120.0
 
131
 user: root
 
132
 command: set -o pipefail; optical_write_test /dev/`ls /sys$path/block` dvd | ansi_parser
 
133
 description:
 
134
  PURPOSE:
 
135
      This test will check your system's $product writing capabilities. This test requires a blank DVD-R or DVD+R.
 
136
  STEPS:
 
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.
 
141
  VERIFICATION:
 
142
      This test should automatically select "Yes" if it passes, "No" if it fails.
 
143
 EOF
 
144
 
 
145
plugin: local
 
146
id: optical/dvd-write-automated
 
147
requires:
 
148
 device.category == 'CDROM'
 
149
_description: Automated DVD write test.
 
150
command:
 
151
 cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=CDROM"'
 
152
 plugin: shell
 
153
 id: optical/dvd-write-automated_`ls /sys$path/block`
 
154
 estimated_duration: 120.0
 
155
 requires: 
 
156
  device.path == "$path"
 
157
  optical_drive_`ls /sys$path/block`.dvd_write == 'supported'
 
158
 user: root
 
159
 command: set -o pipefail; optical_write_test /dev/`ls /sys$path/block` dvd | ansi_parser
 
160
 description:
 
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.
 
162
 EOF
 
163
 
 
164
plugin: user-interact-verify
 
165
id: optical/dvd_playback
 
166
command: totem /media/cdrom
 
167
estimated_duration: 120.0
 
168
requires:
 
169
 device.category == 'CDROM'
 
170
 package.name == 'totem'
 
171
_description:
 
172
 PURPOSE:
 
173
     This test will check your DVD  playback capabilities
 
174
 STEPS:
 
175
     1. Insert a DVD that contains any movie in your optical drive
 
176
     2. Click "Test" to play the DVD in Totem
 
177
 VERIFICATION:
 
178
     Did the file play?
 
179
 
 
180
plugin: local
 
181
id: optical/bluray-read
 
182
requires: device.category == 'CDROM'
 
183
_description: Automated Blu-Ray read test.
 
184
command:
 
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
 
189
 requires:
 
190
  device.path == "$path"
 
191
  optical_drive_`ls /sys$path/block`.bd_read == "supported"
 
192
 user: root
 
193
 command: optical_read_test /dev/`ls /sys$path/block`
 
194
 estimated_duration: 10.00
 
195
 description:
 
196
  PURPOSE:
 
197
   This test will check your $product device's ability to read Blu-Ray (BD) media
 
198
  STEPS:
 
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.
 
202
  VERIFICATION:
 
203
   This test should automatically select "Yes" if it passes, "No" if it fails.
 
204
 EOF
 
205
 
 
206
plugin: local
 
207
id: optical/bluray-write
 
208
requires: device.category == 'CDROM'
 
209
_description: Automated Blu-Ray write test.
 
210
command:
 
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`
 
214
 requires:
 
215
  device.path == "$path"
 
216
  optical_drive_`ls /sys$path/block`.bd_write == "supported"
 
217
  package.name == "growisofs"
 
218
 user: root
 
219
 command: set -o pipefail; optical_write_test /dev/`ls /sys$path/block` bd | ansi_parser
 
220
 estimated_duration: 120.00
 
221
 description:
 
222
  PURPOSE:
 
223
   This test will check your $product device's ability to write Blu-Ray (BD) media
 
224
  STEPS:
 
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.
 
228
  VERIFICATION:
 
229
   This test should automatically select "Yes" if it passes, "No" if it fails.
 
230
 EOF