torture/spoolss: cleanup print_job_enum test jobs
commitea962a656ca43954a1ffb3af19dd406b69dee0e7
authorDavid Disseldorp <ddiss@samba.org>
Wed, 29 Oct 2014 10:54:19 +0000 (29 11:54 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 29 Oct 2014 13:31:52 +0000 (29 14:31 +0100)
tree69de340114785a6776011a26aa3c5b9b686b11f8
parent6adcc7bffd5e1474ecba04d2328955c0b208cabc
torture/spoolss: cleanup print_job_enum test jobs

Purge print queue on startup to ensure that the test is not affected by
jobs queued for prior tests. Also, empty the queue at the end of the
test to play nice with others.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Oct 29 14:31:52 CET 2014 on sn-devel-104
source4/torture/rpc/spoolss.c