From 8fc28818b974042712b5c11776de0562755ed59d Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 24 Dec 2010 01:14:49 +0100 Subject: s4-smbtorture: fix DriverDate and DriverVersion comparison checks against w2k3. Guenther --- source4/torture/rpc/spoolss.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index 49eb27d83f..31b7baf5da 100644 --- a/source4/torture/rpc/spoolss.c +++ b/source4/torture/rpc/spoolss.c @@ -4742,7 +4742,9 @@ static bool test_GetDriverInfo_winreg(struct torture_context *tctx, test_sz("Driver", driver_path); if (torture_setting_bool(tctx, "w2k3", false)) { DATA_BLOB blob = data_blob_talloc_zero(tctx, 8); + push_nttime(blob.data, 0, info.info6.driver_date); test_binary("DriverDate", blob); + SBVAL(blob.data, 0, info.info6.driver_version); test_binary("DriverVersion", blob); } else { test_sz("DriverDate", driver_date); -- cgit