From 0279422c83e42a6c903e82a069a5236dd01a0f21 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 24 Dec 2010 01:55:08 +0100 Subject: s4-smbtorture: check driver_version equality as well. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Tue Jan 4 11:22:09 CET 2011 on sn-devel-104 --- source4/torture/rpc/spoolss.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/torture/rpc/spoolss.c') diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index d951661185..2dd7164338 100644 --- a/source4/torture/rpc/spoolss.c +++ b/source4/torture/rpc/spoolss.c @@ -8450,6 +8450,7 @@ static bool test_AddPrinterDriver_args_level_6(struct torture_context *tctx, } torture_assert_nttime_equal(tctx, info.info6.driver_date, info6.driver_date, "driverdate mismatch"); + torture_assert_u64_equal(tctx, info.info6.driver_version, info6.driver_version, "driverversion mismatch"); return true; } @@ -8500,6 +8501,7 @@ static bool test_AddPrinterDriver_args_level_8(struct torture_context *tctx, } torture_assert_nttime_equal(tctx, info.info8.driver_date, r->driver_date, "driverdate mismatch"); + torture_assert_u64_equal(tctx, info.info8.driver_version, r->driver_version, "driverversion mismatch"); return true; } -- cgit