git.samba.org
/
ddiss
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e2cb8d
)
s4-smbtorture: check the returned driver date is equal to the one we passed in.
author
Günther Deschner
<gd@samba.org>
Tue, 21 Dec 2010 15:14:48 +0000
(16:14 +0100)
committer
Günther Deschner
<gd@samba.org>
Wed, 22 Dec 2010 12:33:17 +0000
(13:33 +0100)
Guenther
source4/torture/rpc/spoolss.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/spoolss.c
b/source4/torture/rpc/spoolss.c
index d7d1df11873b0f0de2c27a895afb9a09fdc56ae4..6608aedf542d5decbeeebaffb143b3ca4d03dcf9 100644
(file)
--- 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;
}