summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-09-23 15:21:40 +0200
committerVolker Lendecke <vl@samba.org>2009-09-23 18:50:33 +0200
commit76d95b9a2dcfff9df1865ffff74f0e9c32bce609 (patch)
tree885a46adcfeccb1b8b3cf631f9f0bdc58dee676d /source3/torture
parentadf66e75c060e6462b9f8819944d0f8ff1ef2c1b (diff)
downloadsamba-76d95b9a2dcfff9df1865ffff74f0e9c32bce609.tar.gz
samba-76d95b9a2dcfff9df1865ffff74f0e9c32bce609.tar.bz2
samba-76d95b9a2dcfff9df1865ffff74f0e9c32bce609.zip
s3:gencache: Add a "was_expired" argument to gencache_get_data_blob
This is set to true if the routine returns failure due to an existing but expired entry.
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/torture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index 98694ed3d0..9e1ac7648e 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -5863,7 +5863,7 @@ static bool run_local_gencache(int dummy)
return False;
}
- if (!gencache_get_data_blob("foo", &blob, NULL)) {
+ if (!gencache_get_data_blob("foo", &blob, NULL, NULL)) {
d_printf("%s: gencache_get_data_blob() failed\n", __location__);
return False;
}
@@ -5887,7 +5887,7 @@ static bool run_local_gencache(int dummy)
return False;
}
- if (gencache_get_data_blob("foo", &blob, NULL)) {
+ if (gencache_get_data_blob("foo", &blob, NULL, NULL)) {
d_printf("%s: gencache_get_data_blob() on deleted entry "
"succeeded\n", __location__);
return False;