s4-smbtorture: check the returned driver date is equal to the one we passed in.
authorGünther Deschner <gd@samba.org>
Tue, 21 Dec 2010 15:14:48 +0000 (16:14 +0100)
committerGünther Deschner <gd@samba.org>
Wed, 22 Dec 2010 12:33:17 +0000 (13:33 +0100)
Guenther

source4/torture/rpc/spoolss.c

index d7d1df11873b0f0de2c27a895afb9a09fdc56ae4..6608aedf542d5decbeeebaffb143b3ca4d03dcf9 100644 (file)
@@ -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;
 }