From be649e63be72d5d2f4c283840f89f6857d0dba96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 21 Apr 2010 20:30:49 +0300 Subject: [PATCH] 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. --- test/lib/completions/cancel.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/completions/cancel.exp b/test/lib/completions/cancel.exp index 764497c3..24ca47c4 100644 --- a/test/lib/completions/cancel.exp +++ b/test/lib/completions/cancel.exp @@ -12,7 +12,7 @@ setup # 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; # Retrieve job-id, so we can cancel the job after the test set job_id [lindex [split $job] 3]