aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2013-01-30 18:51:08 -0800
committerRuss Allbery <rra@stanford.edu>2013-01-31 15:47:11 -0800
commit9cf3e7900f8aab3ec91067c950eb100389ce04b2 (patch)
treeedefc7ee465b6ec772ea8184382aa36516c44754 /tests
parent593e9b1e100ace54d1d9da7eb16e60f4e37c34ff (diff)
Configure $DB_DDL_DIRECTORY in client/full test
We attempt to create a new SQLite database, which requires the schema directory be configured. Add that directory to the test wallet configuration. Change-Id: Id17fd10056760fe8efd5ef89cea134bca17e1abb Reviewed-on: https://gerrit.stanford.edu/728 Reviewed-by: Russ Allbery <rra@stanford.edu> Tested-by: Russ Allbery <rra@stanford.edu>
Diffstat (limited to 'tests')
-rw-r--r--tests/data/wallet.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/data/wallet.conf b/tests/data/wallet.conf
index 877a16f..19c3aeb 100644
--- a/tests/data/wallet.conf
+++ b/tests/data/wallet.conf
@@ -4,6 +4,9 @@
$DB_DRIVER = 'SQLite';
$DB_INFO = 'wallet-db';
+# Point to the schema directory in the distribution.
+$DB_DDL_DIRECTORY = "$ENV{SOURCE}/sql";
+
# Set up a file bucket.
$FILE_BUCKET = 'test-files';