s4-smbtorture: mention job id in GetJob test output in RPC-SPOOLSS.
authorGünther Deschner <gd@samba.org>
Wed, 24 Mar 2010 23:48:55 +0000 (00:48 +0100)
committerGünther Deschner <gd@samba.org>
Wed, 24 Mar 2010 23:50:30 +0000 (00:50 +0100)
Guenther

source4/torture/rpc/spoolss.c

index 56a26d31c9e57b0caf7dea88536f366dfa6bed90..0b5022f7ce4f2ddb8dd82bd614e8354f9dc7e955 100644 (file)
@@ -2537,14 +2537,14 @@ static bool test_GetJob(struct torture_context *tctx,
        r.out.needed = &needed;
        r.out.info = &info;
 
-       torture_comment(tctx, "Testing GetJob level %d\n", r.in.level);
+       torture_comment(tctx, "Testing GetJob(%d), level %d\n", job_id, r.in.level);
 
        status = dcerpc_spoolss_GetJob_r(b, tctx, &r);
        torture_assert_werr_equal(tctx, r.out.result, WERR_UNKNOWN_LEVEL, "Unexpected return code");
 
        for (i = 0; i < ARRAY_SIZE(levels); i++) {
 
-               torture_comment(tctx, "Testing GetJob level %d\n", r.in.level);
+               torture_comment(tctx, "Testing GetJob(%d), level %d\n", job_id, r.in.level);
 
                needed = 0;