From 3931d4aa65aa6edf75c6593e43d74441168ed299 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 21 Dec 2010 16:14:48 +0100 Subject: s4-smbtorture: check the returned driver date is equal to the one we passed in. Guenther --- source4/torture/rpc/spoolss.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index d7d1df1187..6608aedf54 100644 --- a/source4/torture/rpc/spoolss.c +++ b/source4/torture/rpc/spoolss.c @@ -8444,6 +8444,8 @@ 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"); + return true; } @@ -8492,6 +8494,8 @@ 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"); + return true; } -- cgit