summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-12-24 01:55:08 +0100
committerGünther Deschner <gd@samba.org>2011-01-04 11:22:08 +0100
commit0279422c83e42a6c903e82a069a5236dd01a0f21 (patch)
tree39302e5e442964ba98f5fb4b11086d0dd6be3311
parent64576106b10b8cde8970d82301fba66c0ee1995e (diff)
downloadsamba-0279422c83e42a6c903e82a069a5236dd01a0f21.tar.gz
samba-0279422c83e42a6c903e82a069a5236dd01a0f21.tar.bz2
samba-0279422c83e42a6c903e82a069a5236dd01a0f21.zip
s4-smbtorture: check driver_version equality as well.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Jan 4 11:22:09 CET 2011 on sn-devel-104
-rw-r--r--source4/torture/rpc/spoolss.c2
1 files changed, 2 insertions, 0 deletions
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;
}