diff options
author | Günther Deschner <gd@samba.org> | 2010-12-24 01:14:49 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-01-04 10:33:55 +0100 |
commit | 8fc28818b974042712b5c11776de0562755ed59d (patch) | |
tree | 002deba15233d073d394c889b1d707e2ffe498b3 /source4/torture | |
parent | 9c46370e915d8b32f0307eb0a491aeacd2b617b9 (diff) | |
download | samba-8fc28818b974042712b5c11776de0562755ed59d.tar.gz samba-8fc28818b974042712b5c11776de0562755ed59d.tar.bz2 samba-8fc28818b974042712b5c11776de0562755ed59d.zip |
s4-smbtorture: fix DriverDate and DriverVersion comparison checks against w2k3.
Guenther
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/spoolss.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |