From 3969f65aaa1c0e5d3158f089a2fe496af6dd60b0 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 10 Jul 2009 17:36:18 +0200 Subject: Fix&Run local-gencache --- source3/torture/torture.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source3/torture') diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 15083ef90d..8e38093e33 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -5829,15 +5829,13 @@ static bool run_local_gencache(int dummy) } blob = data_blob_string_const_null("bar"); - tm = time(NULL); + tm = time(NULL) + 60; if (!gencache_set_data_blob("foo", &blob, tm)) { d_printf("%s: gencache_set_data_blob() failed\n", __location__); return False; } - data_blob_free(&blob); - if (!gencache_get_data_blob("foo", &blob, NULL)) { d_printf("%s: gencache_get_data_blob() failed\n", __location__); return False; -- cgit