diff options
author | Volker Lendecke <vl@samba.org> | 2009-07-10 17:36:18 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-07-10 18:16:46 +0200 |
commit | 3969f65aaa1c0e5d3158f089a2fe496af6dd60b0 (patch) | |
tree | 439b1ad4dfc0e7cb82e51df31fc770f368371aee /source3/torture | |
parent | 0a0bff353e3cd8287166c7ed907a50a8599b0e03 (diff) | |
download | samba-3969f65aaa1c0e5d3158f089a2fe496af6dd60b0.tar.gz samba-3969f65aaa1c0e5d3158f089a2fe496af6dd60b0.tar.bz2 samba-3969f65aaa1c0e5d3158f089a2fe496af6dd60b0.zip |
Fix&Run local-gencache
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/torture.c | 4 |
1 files changed, 1 insertions, 3 deletions
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; |