Comment 2 for bug 1131598

Revision history for this message
Daniel Manrique (roadmr) wrote :

Hello!

The command for dvd-write is:

optical_write_test /dev/`ls /sys$path/block` | ansi_parser

The problem here is that the exit code will be that of ansi_parser, which is always true. So even if the optical_write_test fails, the result will be true (pass).

The solution as implemented in other jobs is to change the command to:

set -o pipefail; optical_write_test /dev/`ls /sys$path/block` | ansi_parser

This affects also cd-write, so that needs to be changed as well.