/usr/lib/plainbox-providers-1/checkbox/jobs/optical.txt is in plainbox-provider-checkbox 0.3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 | plugin: shell
name: optical/detect
requires: device.category == 'CDROM'
description: Test to detect the optical drives
command:
cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=CDROM"' | sed '/^$/d'
$vendor $product
EOF
plugin: local
name: optical/read
requires:
device.category == 'CDROM'
description: Optical read test.
command:
cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=CDROM"'
plugin: user-interact-verify
name: optical/read_`ls /sys$path/block`
requires: device.path == "$path"
user: root
command: optical_read_test /dev/`ls /sys$path/block`
description:
PURPOSE:
This test will check your $product device's ability to read CD media
STEPS:
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.
2. If a file browser window opens, you can safely close or ignore that window.
3. Click "Test" to begin the test.
VERIFICATION:
This test should automatically select "Yes" if it passes, "No" if it fails.
EOF
plugin: local
name: optical/read-automated
requires:
device.category == 'CDROM'
description: Automated optical read test.
command:
cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=CDROM"'
plugin: shell
name: optical/read-automated_`ls /sys$path/block`
requires: device.path == "$path"
user: root
command: optical_read_test /dev/`ls /sys$path/block`
description:
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.
EOF
plugin: local
name: optical/cdrom-write
requires:
device.category == 'CDROM'
optical_drive.cd == 'writable'
description: CD write test.
command:
cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=CDROM"'
plugin: user-interact-verify
name: optical/cdrom-write_`ls /sys$path/block`
requires: device.path == "$path"
user: root
command: set -o pipefail; optical_write_test /dev/`ls /sys$path/block` | ansi_parser
description:
PURPOSE:
This test will check your system's $product CD writing capabilities. This test requires a blank CD-R or CD+R.
STEPS:
Skip this test if you do not have a blank CD disk.
1. Insert a blank CD-R or CD+R into your drive
2. Click "Test" to begin.
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.
VERIFICATION:
This test should automatically select "Yes" if it passes, "No" if it fails.
EOF
plugin: local
name: optical/cdrom-write-automated
requires:
device.category == 'CDROM'
optical_drive.cd == 'writable'
description: Automated CD write test
command:
cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=CDROM"'
plugin: shell
name: optical/cdrom-write-automated_`ls /sys$path/block`
requires: device.path == "$path"
user: root
command: set -o pipefail; optical_write_test /dev/`ls /sys$path/block` | ansi_parser
description:
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.
EOF
plugin: manual
name: optical/cdrom-audio-playback
depends: optical/read
description:
PURPOSE:
This test will check your CD audio playback capabilities
STEPS:
1. Insert an audio CD in your optical drive
2. When prompted, launch the Music Player
3. Locate the CD in the display of the Music Player
4. Select the CD in the Music Player
5. Click the Play button to listen to the music on the CD
6. Stop playing after some time
7. Right click on the CD icon and select "Eject Disc"
8. The CD should be ejected
9. Close the Music Player
VERIFICATION:
Did all the steps work?
plugin: local
name: optical/dvd-write
requires:
device.category == 'CDROM'
optical_drive.dvd == 'writable'
description: DVD write test.
command:
cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=CDROM"'
plugin: user-interact-verify
name: optical/dvd-write_`ls /sys$path/block`
requires: device.path == "$path"
user: root
command: set -o pipefail; optical_write_test /dev/`ls /sys$path/block` | ansi_parser
description:
PURPOSE:
This test will check your system's $product writing capabilities. This test requires a blank DVD-R or DVD+R.
STEPS:
Skip this test if you do not have a blank DVD disk.
1. Enter a blank DVD-R or DVD+R into your drive
2. Click "Test" to begin.
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.
VERIFICATION:
This test should automatically select "Yes" if it passes, "No" if it fails.
EOF
plugin: local
name: optical/dvd-write-automated
requires:
device.category == 'CDROM'
optical_drive.dvd == 'writable'
description: Automated DVD write test.
command:
cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=CDROM"'
plugin: shell
name: optical/dvd-write-automated_`ls /sys$path/block`
requires: device.path == "$path"
user: root
command: set -o pipefail; optical_write_test /dev/`ls /sys$path/block` | ansi_parser
description:
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.
EOF
plugin: user-interact-verify
name: optical/dvd_playback
command: totem /media/cdrom
requires:
device.category == 'CDROM'
package.name == 'totem'
description:
PURPOSE:
This test will check your DVD playback capabilities
STEPS:
1. Insert a DVD that contains any movie in your optical drive
2. Click "Test" to play the DVD in Totem
VERIFICATION:
Did the file play?
|