diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-08-01 19:20:54 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-08-02 10:48:54 +0300 |
commit | 73f605f76d82aec40a7f1bbd309e2097d9abfd42 (patch) | |
tree | 5820713d17efcb482a8801f4f805b0ae121903f7 /tests/test00.vtc | |
parent | d78a58be5fa2385987a3141ccbe942107332e677 (diff) | |
download | vmod-tbf-73f605f76d82aec40a7f1bbd309e2097d9abfd42.tar.gz vmod-tbf-73f605f76d82aec40a7f1bbd309e2097d9abfd42.tar.bz2 |
Switch to CDB environment.
* configure.ac: Version 0.99.91
* src/tbf.c (dbdir): New static.
(tbf_set_db_name): Remove.
(tbf_set_db_dir): New function.
(tbf_open): Rename the parameter and related variables.
Create a CDB environment and the database in it.
(vmod_open): Change semantics of the first argument.
* src/vmod-tbf.3: Update.
* tests/Makefile.am (distclean-local): New rule, instead of
DISTCLEANFILES.
* tests/test00.vtc: Update call to tbf.open.
* tests/test01.vtc: Likewise.
* tests/test02.vtc: Likewise.
* tests/test03.vtc: Likewise.
Diffstat (limited to 'tests/test00.vtc')
-rw-r--r-- | tests/test00.vtc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test00.vtc b/tests/test00.vtc index 10f99ca..f69f5ed 100644 --- a/tests/test00.vtc +++ b/tests/test00.vtc @@ -8,7 +8,7 @@ server s1 { varnish v1 -vcl+backend { import tbf from "${vmod_topbuild}/src/.libs/libvmod_tbf.so"; sub vcl_init { - tbf.open("${vmod_topbuild}/tests/tbf.db", "truncate"); + tbf.open("${vmod_topbuild}/tests/tbf", "truncate"); } sub vcl_fini { tbf.close(); |