summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-12-21 16:14:48 +0100
committerGünther Deschner <gd@samba.org>2010-12-22 13:33:17 +0100
commit3931d4aa65aa6edf75c6593e43d74441168ed299 (patch)
tree261b6b421ef1db403d77ea056da5871306f492e1
parent2e2cb8d96d786c0c9f1b45f41f0758ee07bebf4c (diff)
downloadsamba-3931d4aa65aa6edf75c6593e43d74441168ed299.tar.gz
samba-3931d4aa65aa6edf75c6593e43d74441168ed299.tar.bz2
samba-3931d4aa65aa6edf75c6593e43d74441168ed299.zip
s4-smbtorture: check the returned driver date is equal to the one we passed in.
Guenther
-rw-r--r--source4/torture/rpc/spoolss.c4
1 files changed, 4 insertions, 0 deletions
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;
}