Set cancel test outcome to untested, not unresolved if adding a test job fails.

E.g. lp installed, but lpd not running which is not a rare scenario.
This commit is contained in:
Ville Skyttä 2010-04-21 20:30:49 +03:00
parent 1267cf8bd2
commit be649e63be

View File

@ -12,7 +12,7 @@ setup
# Adding a print job is successful? # Adding a print job is successful?
if {[assert_exec {lp -H hold fixtures/shared/default/foo} job]} { if {[assert_exec {lp -H hold fixtures/shared/default/foo} job "" "untested"]} {
# Yes, adding a print-job is successful; # Yes, adding a print-job is successful;
# Retrieve job-id, so we can cancel the job after the test # Retrieve job-id, so we can cancel the job after the test
set job_id [lindex [split $job] 3] set job_id [lindex [split $job] 3]